]> Git Repo - linux.git/commit - arch/arm/mach-pxa/smemc.c
ARM: pxa: split up mach/hardware.h
authorArnd Bergmann <[email protected]>
Sun, 1 Sep 2019 20:26:10 +0000 (22:26 +0200)
committerArnd Bergmann <[email protected]>
Tue, 19 Apr 2022 14:27:05 +0000 (16:27 +0200)
commit08d3df8c81537089fc8f21006b56f2f6fb23c6f8
tree78649807a1bb17fa92c7f46f86b3f74a3de04726
parenteec05d26ea5e20dec50fdcddcaa6e0787f394691
ARM: pxa: split up mach/hardware.h

The mach/hardware.h is included in lots of places, and it provides
three different things on pxa:

- the cpu_is_pxa* macros
- an indirect inclusion of mach/addr-map.h
- the __REG() and io_pv2() helper macros

Split it up into separate <linux/soc/pxa/cpu.h> and mach/pxa-regs.h
headers, then change all the files that use mach/hardware.h to
include the exact set of those three headers that they actually
need, allowing for further more targeted cleanup.

linux/soc/pxa/cpu.h can remain permanently exported and is now in
a global location along with similar headers. pxa-regs.h and
addr-map.h are only used in a very small number of drivers now
and can be moved to arch/arm/mach-pxa/ directly when those drivers
are to pass the necessary data as resources.

Cc: Michael Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Cc: Jacek Anaszewski <[email protected]>
Cc: Pavel Machek <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Guenter Roeck <[email protected]>
Acked-by: Mark Brown <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
78 files changed:
arch/arm/common/locomo.c
arch/arm/common/sa1111.c
arch/arm/mach-pxa/cm-x300.c
arch/arm/mach-pxa/colibri-evalboard.c
arch/arm/mach-pxa/colibri-pxa270-income.c
arch/arm/mach-pxa/colibri-pxa300.c
arch/arm/mach-pxa/colibri-pxa3xx.c
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/corgi_pm.c
arch/arm/mach-pxa/csb726.c
arch/arm/mach-pxa/devices.c
arch/arm/mach-pxa/ezx.c
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/gumstix.c
arch/arm/mach-pxa/hx4700.c
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/include/mach/hardware.h [deleted file]
arch/arm/mach-pxa/include/mach/pxa-regs.h [new file with mode: 0644]
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
arch/arm/mach-pxa/include/mach/regs-ac97.h
arch/arm/mach-pxa/include/mach/regs-ost.h
arch/arm/mach-pxa/include/mach/trizeps4.h
arch/arm/mach-pxa/irq.c
arch/arm/mach-pxa/littleton.c
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/mfp-pxa2xx.c
arch/arm/mach-pxa/mfp-pxa3xx.c
arch/arm/mach-pxa/poodle.c
arch/arm/mach-pxa/pxa-regs.h [new file with mode: 0644]
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa25x.h
arch/arm/mach-pxa/pxa27x-udc.h
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa27x.h
arch/arm/mach-pxa/pxa2xx.c
arch/arm/mach-pxa/pxa300.c
arch/arm/mach-pxa/pxa320.c
arch/arm/mach-pxa/pxa3xx-ulpi.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/pxa3xx.h
arch/arm/mach-pxa/pxa930.c
arch/arm/mach-pxa/regs-rtc.h
arch/arm/mach-pxa/regs-uart.h
arch/arm/mach-pxa/sleep.S
arch/arm/mach-pxa/smemc.c
arch/arm/mach-pxa/spitz_pm.c
arch/arm/mach-pxa/standby.S
arch/arm/mach-pxa/xcep.c
arch/arm/mach-pxa/zylonite.c
arch/arm/mach-pxa/zylonite.h
arch/arm/mach-pxa/zylonite_pxa300.c
arch/arm/mach-pxa/zylonite_pxa320.c
drivers/clk/pxa/clk-pxa3xx.c
drivers/cpufreq/pxa2xx-cpufreq.c
drivers/cpufreq/pxa3xx-cpufreq.c
drivers/input/mouse/pxa930_trkball.c
drivers/input/touchscreen/zylonite-wm97xx.c
drivers/leds/leds-locomo.c
drivers/mmc/host/pxamci.c
drivers/mtd/maps/pxa2xx-flash.c
drivers/pcmcia/pxa2xx_base.c
drivers/pcmcia/pxa2xx_sharpsl.c
drivers/pcmcia/sa1111_generic.c
drivers/pcmcia/sa1111_lubbock.c
drivers/pcmcia/soc_common.c
drivers/rtc/rtc-pxa.c
drivers/usb/host/ohci-pxa27x.c
drivers/video/fbdev/pxafb.c
drivers/watchdog/sa1100_wdt.c
include/linux/soc/pxa/cpu.h [new file with mode: 0644]
sound/arm/pxa2xx-ac97-lib.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/z2.c
This page took 0.089193 seconds and 4 git commands to generate.