diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-03 09:08:57 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-03 09:08:57 -0400 |
commit | 76467874b83835129dc454e3a7a8e5d1186101b0 (patch) | |
tree | 162129f0c36c35be4aa323cf00626db0e804c3fc /drivers/pcmcia/ds_internal.h | |
parent | 8628de0583504138551a05ad44ca388467f0f552 (diff) | |
parent | 6246b6128bbe34d0752f119cf7c5111c85fe481d (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/pcmcia/ds_internal.h')
-rw-r--r-- | drivers/pcmcia/ds_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds_internal.h b/drivers/pcmcia/ds_internal.h index d359bd25a51c..3a2b25e6ed73 100644 --- a/drivers/pcmcia/ds_internal.h +++ b/drivers/pcmcia/ds_internal.h | |||
@@ -8,6 +8,8 @@ extern void pcmcia_put_dev(struct pcmcia_device *p_dev); | |||
8 | 8 | ||
9 | struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int function); | 9 | struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int function); |
10 | 10 | ||
11 | extern int pcmcia_release_configuration(struct pcmcia_device *p_dev); | ||
12 | |||
11 | #ifdef CONFIG_PCMCIA_IOCTL | 13 | #ifdef CONFIG_PCMCIA_IOCTL |
12 | extern void __init pcmcia_setup_ioctl(void); | 14 | extern void __init pcmcia_setup_ioctl(void); |
13 | extern void __exit pcmcia_cleanup_ioctl(void); | 15 | extern void __exit pcmcia_cleanup_ioctl(void); |
@@ -15,7 +17,7 @@ extern void handle_event(struct pcmcia_socket *s, event_t event); | |||
15 | extern int handle_request(struct pcmcia_socket *s, event_t event); | 17 | extern int handle_request(struct pcmcia_socket *s, event_t event); |
16 | #else | 18 | #else |
17 | static inline void __init pcmcia_setup_ioctl(void) { return; } | 19 | static inline void __init pcmcia_setup_ioctl(void) { return; } |
18 | static inline void __init pcmcia_cleanup_ioctl(void) { return; } | 20 | static inline void __exit pcmcia_cleanup_ioctl(void) { return; } |
19 | 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) { return; } |
20 | static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; } | 22 | static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; } |
21 | #endif | 23 | #endif |