aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index bde9b0513d92..2c3c3da5368e 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -262,8 +262,6 @@ void cs_error(client_handle_t handle, int func, int ret)
262} 262}
263EXPORT_SYMBOL(cs_error); 263EXPORT_SYMBOL(cs_error);
264 264
265#ifdef CONFIG_PCMCIA_DEBUG
266
267 265
268static void pcmcia_check_driver(struct pcmcia_driver *p_drv) 266static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
269{ 267{
@@ -284,6 +282,9 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
284 "product string \"%s\": is 0x%x, should " 282 "product string \"%s\": is 0x%x, should "
285 "be 0x%x\n", p_drv->drv.name, did->prod_id[i], 283 "be 0x%x\n", p_drv->drv.name, did->prod_id[i],
286 did->prod_id_hash[i], hash); 284 did->prod_id_hash[i], hash);
285 printk(KERN_DEBUG "pcmcia: see "
286 "Documentation/pcmcia/devicetable.txt for "
287 "details\n");
287 } 288 }
288 did++; 289 did++;
289 } 290 }
@@ -291,12 +292,6 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
291 return; 292 return;
292} 293}
293 294
294#else
295static inline void pcmcia_check_driver(struct pcmcia_driver *p_drv) {
296 return;
297}
298#endif
299
300 295
301#ifdef CONFIG_PCMCIA_LOAD_CIS 296#ifdef CONFIG_PCMCIA_LOAD_CIS
302 297