diff options
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r-- | drivers/pcmcia/ds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 3e3c6f12bbe6..43da2e92d50f 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -206,8 +206,8 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv) | |||
206 | u32 hash; | 206 | u32 hash; |
207 | 207 | ||
208 | if (!p_drv->attach || !p_drv->event || !p_drv->detach) | 208 | if (!p_drv->attach || !p_drv->event || !p_drv->detach) |
209 | printk(KERN_DEBUG "pcmcia: %s does misses a callback function", | 209 | printk(KERN_DEBUG "pcmcia: %s lacks a requisite callback " |
210 | p_drv->drv.name); | 210 | "function\n", p_drv->drv.name); |
211 | 211 | ||
212 | while (did && did->match_flags) { | 212 | while (did && did->match_flags) { |
213 | for (i=0; i<4; i++) { | 213 | for (i=0; i<4; i++) { |
@@ -589,8 +589,8 @@ static void pcmcia_delayed_add_pseudo_device(void *data) | |||
589 | static inline void pcmcia_add_pseudo_device(struct pcmcia_socket *s) | 589 | static inline void pcmcia_add_pseudo_device(struct pcmcia_socket *s) |
590 | { | 590 | { |
591 | if (!s->pcmcia_state.device_add_pending) { | 591 | if (!s->pcmcia_state.device_add_pending) { |
592 | schedule_work(&s->device_add); | ||
593 | s->pcmcia_state.device_add_pending = 1; | 592 | s->pcmcia_state.device_add_pending = 1; |
593 | schedule_work(&s->device_add); | ||
594 | } | 594 | } |
595 | return; | 595 | return; |
596 | } | 596 | } |