summaryrefslogtreecommitdiff
path: root/arch/arm/mach-dove/include/mach/hardware.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-07-31 22:56:54 +0300
committerArnd Bergmann <arnd@arndb.de>2019-08-14 20:24:57 +0300
commitce78179ea6e042e2d3af0a1c71c105431ead483a (patch)
treea37e73fdf45369d34978756e9ab6fb758bfb479e /arch/arm/mach-dove/include/mach/hardware.h
parenta3950da161a6fdb8099a00b936dcf848639f7ab6 (diff)
downloadlinux-ce78179ea6e042e2d3af0a1c71c105431ead483a.tar.xz
ARM: dove: clean up mach/*.h headers
This is a simple move of all header files that are no longer included by anything else from the include/mach directory to the platform directory itself as preparation for multiplatform support. The mach/uncompress.h headers are left in place for now, and are mildly modified to be independent of the other headers. They will be removed entirely when ARCH_MULTIPLATFORM gets enabled and they become obsolete. Rather than updating the path names inside of the comments of each header, I delete those comments to avoid having to update them again, should they get moved or copied another time. Link: https://lore.kernel.org/r/20190731195713.3150463-13-arnd@arndb.de Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-dove/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-dove/include/mach/hardware.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-dove/include/mach/hardware.h b/arch/arm/mach-dove/include/mach/hardware.h
deleted file mode 100644
index f1368b9a8ece..000000000000
--- a/arch/arm/mach-dove/include/mach/hardware.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * arch/arm/mach-dove/include/mach/hardware.h
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#ifndef __ASM_ARCH_HARDWARE_H
-#define __ASM_ARCH_HARDWARE_H
-
-#include "dove.h"
-
-/* Macros below are required for compatibility with PXA AC'97 driver. */
-#define __REG(x) (*((volatile u32 *)((x) - DOVE_SB_REGS_PHYS_BASE + \
- DOVE_SB_REGS_VIRT_BASE)))
-#define __PREG(x) (((u32)&(x)) - DOVE_SB_REGS_VIRT_BASE + \
- DOVE_SB_REGS_PHYS_BASE)
-#endif