diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2014-02-02 19:45:13 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-12 21:41:00 -0400 |
commit | cff26a51da5d206d3baf871e75778da44710219d (patch) | |
tree | 7a2fb0e8338ea79cd735b927add6bb2908ca23b3 /include/linux/isapnp.h | |
parent | 21bdd17b21b45ea48e06e23918d681afbe0622e9 (diff) |
module: remove MODULE_GENERIC_TABLE
MODULE_DEVICE_TABLE() calles MODULE_GENERIC_TABLE(); make it do the
work directly. This also removes a wart introduced in the last patch,
where the alias is defined to be an unknown struct type "struct
type##__##name##_device_id" instead of "struct type##_device_id" (it's
an extern so GCC doesn't care, but it's wrong).
The other user of MODULE_GENERIC_TABLE (ISAPNP_CARD_TABLE) is unused,
so delete it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/isapnp.h')
-rw-r--r-- | include/linux/isapnp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/isapnp.h b/include/linux/isapnp.h index e2d28b026a8c..3c77bf9b1efd 100644 --- a/include/linux/isapnp.h +++ b/include/linux/isapnp.h | |||
@@ -56,10 +56,6 @@ | |||
56 | #define ISAPNP_DEVICE_ID(_va, _vb, _vc, _function) \ | 56 | #define ISAPNP_DEVICE_ID(_va, _vb, _vc, _function) \ |
57 | { .vendor = ISAPNP_VENDOR(_va, _vb, _vc), .function = ISAPNP_FUNCTION(_function) } | 57 | { .vendor = ISAPNP_VENDOR(_va, _vb, _vc), .function = ISAPNP_FUNCTION(_function) } |
58 | 58 | ||
59 | /* export used IDs outside module */ | ||
60 | #define ISAPNP_CARD_TABLE(name) \ | ||
61 | MODULE_GENERIC_TABLE(isapnp_card, name) | ||
62 | |||
63 | struct isapnp_card_id { | 59 | struct isapnp_card_id { |
64 | unsigned long driver_data; /* data private to the driver */ | 60 | unsigned long driver_data; /* data private to the driver */ |
65 | unsigned short card_vendor, card_device; | 61 | unsigned short card_vendor, card_device; |