diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-14 19:14:31 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:02:39 -0500 |
commit | 0e0fad8f71a8a23fad223b7d72b4ba06d57f764f (patch) | |
tree | fd73294166cb419200e6439be9dd7841a2bcf554 /drivers/pcmcia/ds_internal.h | |
parent | 1540eec5e5549b2e41704ce77f3f4ba880d2434c (diff) |
[PATCH] pcmcia: size reduction if ioctl isn't compiled
If the kernel is configured to not include the deprecated PCMCIA ioctl,
some code doesn't need to be built.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds_internal.h')
-rw-r--r-- | drivers/pcmcia/ds_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds_internal.h b/drivers/pcmcia/ds_internal.h index d359bd25a51c..783d8617a05c 100644 --- a/drivers/pcmcia/ds_internal.h +++ b/drivers/pcmcia/ds_internal.h | |||
@@ -15,7 +15,7 @@ extern void handle_event(struct pcmcia_socket *s, event_t event); | |||
15 | extern int handle_request(struct pcmcia_socket *s, event_t event); | 15 | extern int handle_request(struct pcmcia_socket *s, event_t event); |
16 | #else | 16 | #else |
17 | static inline void __init pcmcia_setup_ioctl(void) { return; } | 17 | static inline void __init pcmcia_setup_ioctl(void) { return; } |
18 | static inline void __init pcmcia_cleanup_ioctl(void) { return; } | 18 | static inline void __exit pcmcia_cleanup_ioctl(void) { return; } |
19 | static inline void handle_event(struct pcmcia_socket *s, event_t event) { return; } | 19 | static inline void handle_event(struct pcmcia_socket *s, event_t event) { return; } |
20 | static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; } | 20 | static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; } |
21 | #endif | 21 | #endif |