summaryrefslogtreecommitdiff
path: root/cpu/pxa/mmc.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-10-30 16:31:39 -0500
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:07:41 -0600
commit1de97f9856f697380cc504126ab92561ed238803 (patch)
tree21120db558baf8b6bfe58c7bf745d80b76e1a505 /cpu/pxa/mmc.c
parentabb5466ccf4ce50f412d459586f4f4b81cb73ac3 (diff)
Eliminated arch-specific mmc header requirement
The current MMC infrastructure relies on the existence of an arch-specific header file. This isn't necessary, and a couple drivers were forced to implement dummy files to meet this requirement. Instead, we move the stuff in those header files into a more appropriate place, and eliminate the stubs and the #include of asm/arch/mmc.h Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'cpu/pxa/mmc.c')
-rw-r--r--cpu/pxa/mmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c
index 7199e8952b..8f5277e10d 100644
--- a/cpu/pxa/mmc.c
+++ b/cpu/pxa/mmc.c
@@ -28,6 +28,8 @@
#include <asm/arch/hardware.h>
#include <part.h>
+#include "mmc.h"
+
#ifdef CONFIG_MMC
extern int fat_register_device(block_dev_desc_t * dev_desc, int part_no);