diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
commit | 26e3776a22bf894ced5af4c28968dc1dc99968eb (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch | |
parent | 4bd70fc26256cf485f19e0c8b881e078dc36134f (diff) |
nuke obsolete kernel stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch b/target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch deleted file mode 100644 index 68a2d982f..000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 968c41d0c32099d78927849a71e2ef3143cc05e7 Mon Sep 17 00:00:00 2001 -From: Andrzej Zaborowski <balrog@zabor.org> -Date: Mon, 22 Sep 2008 23:01:47 +0100 -Subject: [PATCH] fix-build-with-no-CONFIG_MMC - -I hit this when updating to 2.6.26. Also if CONFIG_MMC is enabled this -patch converts this horrible horrible hack into a horrible hack by using -dev->resume() (untested). - -Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> ---- - arch/arm/mach-s3c2440/mach-gta02.c | 6 +++--- - drivers/mfd/glamo/glamo-mci.c | 4 +--- - 2 files changed, 4 insertions(+), 6 deletions(-) - -diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c -index c15f072..435378a 100644 ---- a/arch/arm/mach-s3c2440/mach-gta02.c -+++ b/arch/arm/mach-s3c2440/mach-gta02.c -@@ -1417,12 +1417,12 @@ static int gta02_glamo_mci_all_dependencies_resumed(struct platform_device *dev) - - static void gta02_glamo_mci_suspending(struct platform_device *dev) - { -- void glamo_mci_resume(void *dev); /* little white lies about types */ -- -- resume_dep_glamo_mci_pcf.callback = glamo_mci_resume; -+#if defined(CONFIG_MFD_GLAMO_MCI) && defined(CONFIG_PM) -+ resume_dep_glamo_mci_pcf.callback = (void *)dev->dev.driver->resume; - resume_dep_glamo_mci_pcf.context = (void *)dev; - pcf50633_register_resume_dependency(pcf50633_global, - &resume_dep_glamo_mci_pcf); -+#endif - } - - -diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c -index cff43db..d5099a0 100644 ---- a/drivers/mfd/glamo/glamo-mci.c -+++ b/drivers/mfd/glamo/glamo-mci.c -@@ -1006,7 +1006,7 @@ static int glamo_mci_suspend(struct platform_device *dev, pm_message_t state) - return ret; - } - --int glamo_mci_resume(struct platform_device *dev) -+static int glamo_mci_resume(struct platform_device *dev) - { - struct mmc_host *mmc = platform_get_drvdata(dev); - struct glamo_mci_host *host = mmc_priv(mmc); -@@ -1025,8 +1025,6 @@ int glamo_mci_resume(struct platform_device *dev) - - return ret; - } --EXPORT_SYMBOL_GPL(glamo_mci_resume); -- - - #else /* CONFIG_PM */ - #define glamo_mci_suspend NULL --- -1.5.6.5 - |