From: Stephen Rothwell Date: Fri, 23 May 2008 06:31:08 +0000 (+1000) Subject: pcmcia: Use linux/of_{device,platform}.h instead of asm X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad19dbdb4b224deabbf6080e238256ffbc9be485;p=openwrt%2Fstaging%2Fblogic.git pcmcia: Use linux/of_{device,platform}.h instead of asm Signed-off-by: Stephen Rothwell Acked-by: Vitaly Bordug Acked-by: Olof Johansson Acked-by: Dominik Brodowski Signed-off-by: Paul Mackerras --- diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c index 52d0aa8c2e7a..c21f9a9c3e3f 100644 --- a/drivers/pcmcia/electra_cf.c +++ b/drivers/pcmcia/electra_cf.c @@ -29,9 +29,9 @@ #include #include #include +#include #include -#include static const char driver_name[] = "electra-cf"; diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c index ac70d2cb7dd4..9c5be9a2f3fd 100644 --- a/drivers/pcmcia/m8xx_pcmcia.c +++ b/drivers/pcmcia/m8xx_pcmcia.c @@ -49,6 +49,8 @@ #include #include #include +#include +#include #include #include @@ -57,8 +59,6 @@ #include #include #include -#include -#include #include #include