module: remove MODULE_GENERIC_TABLE
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Feb 2014 00:45:13 +0000 (11:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 13 Mar 2014 01:41:00 +0000 (12:11 +1030)
commitcff26a51da5d206d3baf871e75778da44710219d
tree7a2fb0e8338ea79cd735b927add6bb2908ca23b3
parent21bdd17b21b45ea48e06e23918d681afbe0622e9
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>
include/linux/isapnp.h
include/linux/module.h