diff options
author | 2019-08-06 15:24:58 +0200 | |
---|---|---|
committer | 2022-04-21 15:01:02 +0200 | |
commit | 1e9ca7c811f76b16c7822ad009b6b0c352227a15 (patch) | |
tree | a580724e315072b3d04e9bc66cd5764f7b09dd7c /arch/arm/mach-omap1/include/mach/memory.h | |
parent | ARM: omap1: move mach/usb.h to include/linux/soc (diff) | |
download | linux-1e9ca7c811f76b16c7822ad009b6b0c352227a15.tar.gz linux-1e9ca7c811f76b16c7822ad009b6b0c352227a15.tar.bz2 linux-1e9ca7c811f76b16c7822ad009b6b0c352227a15.zip |
ARM: omap1: move some headers to include/linux/soc
There are three remaining header files that are used by omap1
specific device drivers:
- mach/soc.h provides cpu_is_omapXXX abstractions
- mach/hardware.h provides omap_read/omap_write functions
and physical addresses
- mach/mux.h provides an omap specific pinctrl abstraction
This is generally not how we do platform abstractions today,
and it would be good to completely get rid of these in favor
of passing information through platform devices and the pinctrl
subsystem.
However, given that nobody is working on that, just move it
one step forward by splitting out the header files that are
used by drivers today from the machine headers that are only
used internally.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap1/include/mach/memory.h')
-rw-r--r-- | arch/arm/mach-omap1/include/mach/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/include/mach/memory.h b/arch/arm/mach-omap1/include/mach/memory.h index ba3a350479c8..ee91a6cb548d 100644 --- a/arch/arm/mach-omap1/include/mach/memory.h +++ b/arch/arm/mach-omap1/include/mach/memory.h @@ -7,6 +7,6 @@ #define __ASM_ARCH_MEMORY_H /* REVISIT: omap1 legacy drivers still rely on this */ -#include <mach/soc.h> +#include <mach/hardware.h> #endif |