diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/isapnp.h | 8 | ||||
-rw-r--r-- | include/linux/mod_devicetable.h | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/include/linux/isapnp.h b/include/linux/isapnp.h index cd5a269fdb5e..e2d28b026a8c 100644 --- a/include/linux/isapnp.h +++ b/include/linux/isapnp.h | |||
@@ -43,10 +43,10 @@ | |||
43 | */ | 43 | */ |
44 | 44 | ||
45 | #ifdef __KERNEL__ | 45 | #ifdef __KERNEL__ |
46 | #include <linux/mod_devicetable.h> | ||
46 | 47 | ||
47 | #define DEVICE_COUNT_COMPATIBLE 4 | 48 | #define DEVICE_COUNT_COMPATIBLE 4 |
48 | 49 | ||
49 | #define ISAPNP_ANY_ID 0xffff | ||
50 | #define ISAPNP_CARD_DEVS 8 | 50 | #define ISAPNP_CARD_DEVS 8 |
51 | 51 | ||
52 | #define ISAPNP_CARD_ID(_va, _vb, _vc, _device) \ | 52 | #define ISAPNP_CARD_ID(_va, _vb, _vc, _device) \ |
@@ -74,12 +74,6 @@ struct isapnp_card_id { | |||
74 | #define ISAPNP_DEVICE_SINGLE_END \ | 74 | #define ISAPNP_DEVICE_SINGLE_END \ |
75 | .card_vendor = 0, .card_device = 0 | 75 | .card_vendor = 0, .card_device = 0 |
76 | 76 | ||
77 | struct isapnp_device_id { | ||
78 | unsigned short card_vendor, card_device; | ||
79 | unsigned short vendor, function; | ||
80 | unsigned long driver_data; /* data private to the driver */ | ||
81 | }; | ||
82 | |||
83 | #if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) && defined(MODULE)) | 77 | #if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) && defined(MODULE)) |
84 | 78 | ||
85 | #define __ISAPNP__ | 79 | #define __ISAPNP__ |
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 007fbaafead0..48c007dae476 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -509,4 +509,11 @@ struct zorro_device_id { | |||
509 | 509 | ||
510 | #define ZORRO_DEVICE_MODALIAS_FMT "zorro:i%08X" | 510 | #define ZORRO_DEVICE_MODALIAS_FMT "zorro:i%08X" |
511 | 511 | ||
512 | #define ISAPNP_ANY_ID 0xffff | ||
513 | struct isapnp_device_id { | ||
514 | unsigned short card_vendor, card_device; | ||
515 | unsigned short vendor, function; | ||
516 | kernel_ulong_t driver_data; /* data private to the driver */ | ||
517 | }; | ||
518 | |||
512 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 519 | #endif /* LINUX_MOD_DEVICETABLE_H */ |