diff options
Diffstat (limited to 'packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch')
-rw-r--r-- | packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch index e69de29bb2..2f75747ebf 100644 --- a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch +++ b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch @@ -0,0 +1,20 @@ +--- kernel/drivers/mmc/mmc_h5400.c.old 2004-12-06 20:41:32.000000000 +0000 ++++ kernel/drivers/mmc/mmc_h5400.c 2004-12-06 20:42:02.000000000 +0000 +@@ -28,6 +28,7 @@ + #include <asm/irq.h> + #include <asm/io.h> /* ioremap() */ + #include <asm/unaligned.h> ++#include <asm/mach-types.h> + + #include <asm/arch/hardware.h> + #include <asm/arch/h5400-gpio.h> +@@ -97,6 +98,9 @@ + { + int retval; + ++ if (!machine_is_h5400()) ++ return -ENODEV; ++ + h5400_mmc_lowlevel.sd_base = ioremap(H5400_ASIC_PHYS + _H5400_ASIC_SDI_Base, 0x10000) + 0x30; + retval = s3c_mmc_register_slot(&h5400_mmc_lowlevel); + if ( retval < 0 ) |