aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-18 16:00:54 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-18 16:00:54 -0400
commitbb2c018b09b681d43f5e08124b83e362647ea82b (patch)
treed794902c78f9fdd04ed88a4b8d451ed6f9292ec0 /drivers/pcmcia
parent82638844d9a8581bbf33201cc209a14876eca167 (diff)
parent5b664cb235e97afbf34db9c4d77f08ebd725335e (diff)
Merge branch 'linus' into cpus4096
Conflicts: drivers/acpi/processor_throttling.c Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/cistpl.c2
-rw-r--r--drivers/pcmcia/electra_cf.c2
-rw-r--r--drivers/pcmcia/m8xx_pcmcia.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
index 9fcff0c33619..65129b54eb09 100644
--- a/drivers/pcmcia/cistpl.c
+++ b/drivers/pcmcia/cistpl.c
@@ -1490,7 +1490,7 @@ int pccard_validate_cis(struct pcmcia_socket *s, unsigned int function, unsigned
1490 ((tuple->TupleCode > 0x90) && (tuple->TupleCode < 0xff))) 1490 ((tuple->TupleCode > 0x90) && (tuple->TupleCode < 0xff)))
1491 reserved++; 1491 reserved++;
1492 } 1492 }
1493 if ((count) || (reserved > 5) || 1493 if ((count == MAX_TUPLES) || (reserved > 5) ||
1494 ((!dev_ok || !ident_ok) && (count > 10))) 1494 ((!dev_ok || !ident_ok) && (count > 10)))
1495 count = 0; 1495 count = 0;
1496 1496
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 @@
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <linux/interrupt.h> 30#include <linux/interrupt.h>
31#include <linux/vmalloc.h> 31#include <linux/vmalloc.h>
32#include <linux/of_platform.h>
32 33
33#include <pcmcia/ss.h> 34#include <pcmcia/ss.h>
34#include <asm/of_platform.h>
35 35
36static const char driver_name[] = "electra-cf"; 36static const char driver_name[] = "electra-cf";
37 37
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c
index 13a5fbd50a07..ff66604e90d4 100644
--- a/drivers/pcmcia/m8xx_pcmcia.c
+++ b/drivers/pcmcia/m8xx_pcmcia.c
@@ -49,6 +49,8 @@
49#include <linux/interrupt.h> 49#include <linux/interrupt.h>
50#include <linux/fsl_devices.h> 50#include <linux/fsl_devices.h>
51#include <linux/bitops.h> 51#include <linux/bitops.h>
52#include <linux/of_device.h>
53#include <linux/of_platform.h>
52 54
53#include <asm/io.h> 55#include <asm/io.h>
54#include <asm/system.h> 56#include <asm/system.h>
@@ -57,8 +59,6 @@
57#include <asm/8xx_immap.h> 59#include <asm/8xx_immap.h>
58#include <asm/irq.h> 60#include <asm/irq.h>
59#include <asm/fs_pd.h> 61#include <asm/fs_pd.h>
60#include <asm/of_device.h>
61#include <asm/of_platform.h>
62 62
63#include <pcmcia/cs_types.h> 63#include <pcmcia/cs_types.h>
64#include <pcmcia/cs.h> 64#include <pcmcia/cs.h>