diff options
| author | Robert Kuebel <kuebelr@email.uc.edu> | 2002-06-19 23:54:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-06-19 23:54:37 -0700 |
| commit | 0dcc1e615adb16e5c6ab8ca1adfe2e65a1239014 (patch) | |
| tree | 3f809e9efbaa5798366b11542a0ec109d66d3740 | |
| parent | f3fa4e6aba442413ceb373649c6aabfd142932cf (diff) | |
[PATCH] 3c509.c - 2_2
This patch makes sure the 3c509 module license is always GPL. Currently
the MODULE_LICENSE() marco is only used when CONFIG_ISAPNP or
CONFIG_ISAPNP_MODULE is defined. I have moved MODULE_LICENSE() to the
#ifdef MODULE section at the bottom of 3c509.c.
Same is true for the MODULE_DEVICE_TABLE() macro.
| -rw-r--r-- | drivers/net/3c509.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index ba998aa3fe22..65f0ebe5c4b9 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c @@ -229,10 +229,6 @@ static struct isapnp_device_id el3_isapnp_adapters[] __initdata = { { } /* terminate list */ }; -MODULE_DEVICE_TABLE(isapnp, el3_isapnp_adapters); -MODULE_LICENSE("GPL"); - - static u16 el3_isapnp_phys_addr[8][3]; #endif /* __ISAPNP__ */ static int nopnp; @@ -1265,6 +1261,8 @@ MODULE_PARM(nopnp, "i"); MODULE_PARM_DESC(nopnp, "disable ISA PnP support (0-1)"); #endif /* __ISAPNP__ */ MODULE_DESCRIPTION("3Com Etherlink III (3c509, 3c509B) ISA/PnP ethernet driver"); +MODULE_DEVICE_TABLE(isapnp, el3_isapnp_adapters); +MODULE_LICENSE("GPL"); int init_module(void) |
