diff options
| author | Tomas Winkler <tomas.winkler@intel.com> | 2009-11-14 03:36:35 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-11-16 01:08:31 -0500 |
| commit | 11e2521701681452f54f0e98ee2041da07d24c70 (patch) | |
| tree | 96fec6999e8c240e6ff0e83b4374b85bb3815137 | |
| parent | ed04642f753b1240fc65c2978b7365e93209972a (diff) | |
iwmc3200top: use prefered style for the device table.
Use device id number directly accompany with
comment rather then a #define
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | drivers/misc/iwmc3200top/main.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/misc/iwmc3200top/main.c b/drivers/misc/iwmc3200top/main.c index 6e4e49113ab4..a1ce97ef0bed 100644 --- a/drivers/misc/iwmc3200top/main.c +++ b/drivers/misc/iwmc3200top/main.c | |||
| @@ -62,15 +62,6 @@ MODULE_VERSION(DRIVER_VERSION); | |||
| 62 | MODULE_LICENSE("GPL"); | 62 | MODULE_LICENSE("GPL"); |
| 63 | MODULE_AUTHOR(DRIVER_COPYRIGHT); | 63 | MODULE_AUTHOR(DRIVER_COPYRIGHT); |
| 64 | 64 | ||
| 65 | |||
| 66 | /* FIXME: These can be found in sdio_ids.h in newer kernels */ | ||
| 67 | #ifndef SDIO_INTEL_VENDOR_ID | ||
| 68 | #define SDIO_INTEL_VENDOR_ID 0x0089 | ||
| 69 | #endif | ||
| 70 | #ifndef SDIO_DEVICE_ID_INTEL_IWMC3200TOP | ||
| 71 | #define SDIO_DEVICE_ID_INTEL_IWMC3200TOP 0x1404 | ||
| 72 | #endif | ||
| 73 | |||
| 74 | /* | 65 | /* |
| 75 | * This workers main task is to wait for OP_OPR_ALIVE | 66 | * This workers main task is to wait for OP_OPR_ALIVE |
| 76 | * from TOP FW until ALIVE_MSG_TIMOUT timeout is elapsed. | 67 | * from TOP FW until ALIVE_MSG_TIMOUT timeout is elapsed. |
| @@ -662,8 +653,9 @@ static void iwmct_remove(struct sdio_func *func) | |||
| 662 | 653 | ||
| 663 | 654 | ||
| 664 | static const struct sdio_device_id iwmct_ids[] = { | 655 | static const struct sdio_device_id iwmct_ids[] = { |
| 665 | { SDIO_DEVICE(SDIO_INTEL_VENDOR_ID, SDIO_DEVICE_ID_INTEL_IWMC3200TOP)}, | 656 | /* Intel Wireless MultiCom 3200 Top Driver */ |
| 666 | { /* end: all zeroes */ }, | 657 | { SDIO_DEVICE(SDIO_VENDOR_ID_INTEL, 0x1404)}, |
| 658 | { }, /* Terminating entry */ | ||
| 667 | }; | 659 | }; |
| 668 | 660 | ||
| 669 | MODULE_DEVICE_TABLE(sdio, iwmct_ids); | 661 | MODULE_DEVICE_TABLE(sdio, iwmct_ids); |
