|
@@ -364,6 +364,7 @@ int pnp_add_device(struct pnp_dev *dev);
|
|
|
int pnp_device_attach(struct pnp_dev *pnp_dev);
|
|
|
void pnp_device_detach(struct pnp_dev *pnp_dev);
|
|
|
extern struct list_head pnp_global;
|
|
|
+extern int pnp_platform_devices;
|
|
|
|
|
|
/* multidevice card support */
|
|
|
int pnp_add_card(struct pnp_card *card);
|
|
@@ -411,6 +412,7 @@ static inline int pnp_init_device(struct pnp_dev *dev) { return -ENODEV; }
|
|
|
static inline int pnp_add_device(struct pnp_dev *dev) { return -ENODEV; }
|
|
|
static inline int pnp_device_attach(struct pnp_dev *pnp_dev) { return -ENODEV; }
|
|
|
static inline void pnp_device_detach(struct pnp_dev *pnp_dev) { ; }
|
|
|
+#define pnp_platform_devices 0
|
|
|
|
|
|
/* multidevice card support */
|
|
|
static inline int pnp_add_card(struct pnp_card *card) { return -ENODEV; }
|