isapnp_driver is now part of <linux/isapnp.h>
This commit is contained in:
parent
b6f56b49af
commit
1703b79605
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include <linux/isapnp.h>
|
#include <linux/isapnp.h>
|
||||||
|
|
||||||
|
#ifdef COMPAT_NEED_ISAPNP_DRIVER
|
||||||
struct isapnp_driver {
|
struct isapnp_driver {
|
||||||
struct list_head node;
|
struct list_head node;
|
||||||
char *name;
|
char *name;
|
||||||
|
@ -10,7 +11,7 @@ struct isapnp_driver {
|
||||||
int (*probe) (struct pci_dev *dev, const struct isapnp_device_id *id); /* New device inserted */
|
int (*probe) (struct pci_dev *dev, const struct isapnp_device_id *id); /* New device inserted */
|
||||||
void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */
|
void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
#ifdef __ISAPNP__
|
#ifdef __ISAPNP__
|
||||||
|
|
||||||
int isapnp_register_driver(struct isapnp_driver *drv);
|
int isapnp_register_driver(struct isapnp_driver *drv);
|
||||||
|
|
Loading…
Reference in New Issue