diff options
Diffstat (limited to 'drivers/pcmcia/ds_internal.h')
-rw-r--r-- | drivers/pcmcia/ds_internal.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/pcmcia/ds_internal.h b/drivers/pcmcia/ds_internal.h index 3a2b25e6ed73..14bc55aa1426 100644 --- a/drivers/pcmcia/ds_internal.h +++ b/drivers/pcmcia/ds_internal.h | |||
@@ -18,6 +18,12 @@ extern int handle_request(struct pcmcia_socket *s, event_t event); | |||
18 | #else | 18 | #else |
19 | static inline void __init pcmcia_setup_ioctl(void) { return; } | 19 | static inline void __init pcmcia_setup_ioctl(void) { return; } |
20 | static inline void __exit pcmcia_cleanup_ioctl(void) { return; } | 20 | static inline void __exit pcmcia_cleanup_ioctl(void) { return; } |
21 | static inline void handle_event(struct pcmcia_socket *s, event_t event) { return; } | 21 | static inline void handle_event(struct pcmcia_socket *s, event_t event) |
22 | static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; } | 22 | { |
23 | return; | ||
24 | } | ||
25 | static inline int handle_request(struct pcmcia_socket *s, event_t event) | ||
26 | { | ||
27 | return 0; | ||
28 | } | ||
23 | #endif | 29 | #endif |