ACPI: relax BAD_MADT_ENTRY check to allow LSAPIC variable length string UIDs
[linux-2.6/mini2440.git] / drivers / pcmcia / ds_internal.h
blob3a2b25e6ed7325541f4b7659aee51c034467c746
1 /* ds_internal.h - internal header for 16-bit PCMCIA devices management */
3 extern spinlock_t pcmcia_dev_list_lock;
4 extern struct bus_type pcmcia_bus_type;
6 extern struct pcmcia_device * pcmcia_get_dev(struct pcmcia_device *p_dev);
7 extern void pcmcia_put_dev(struct pcmcia_device *p_dev);
9 struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int function);
11 extern int pcmcia_release_configuration(struct pcmcia_device *p_dev);
13 #ifdef CONFIG_PCMCIA_IOCTL
14 extern void __init pcmcia_setup_ioctl(void);
15 extern void __exit pcmcia_cleanup_ioctl(void);
16 extern void handle_event(struct pcmcia_socket *s, event_t event);
17 extern int handle_request(struct pcmcia_socket *s, event_t event);
18 #else
19 static inline void __init pcmcia_setup_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; }
22 static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; }
23 #endif