diff options
author | Alexander Beregalov | 2009-06-20 17:07:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:01:32 +0200 |
commit | 761e95493982f3365e6ef34991a6c7ff84e33d25 (patch) | |
tree | 7e89ee7244fcd37e1bb0f7af6c698fb4ed5e3d8b /drivers/staging | |
parent | Staging: vt6656: Integrate vt6656 into build system. (diff) | |
download | kernel-qcow2-linux-761e95493982f3365e6ef34991a6c7ff84e33d25.tar.gz kernel-qcow2-linux-761e95493982f3365e6ef34991a6c7ff84e33d25.tar.xz kernel-qcow2-linux-761e95493982f3365e6ef34991a6c7ff84e33d25.zip |
Staging: vt6655: fix build when !CONFIG_WIRELESS_EXT
Fix this build error when CONFIG_WIRELESS_EXT is not set:
drivers/staging/vt6655/device_main.c:1153: error: 'struct net_device'
has no member named 'wireless_handlers'
Cc: Forest Bond <forest@alittletooquiet.net>
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index f43ca416e4a8..0a11d7fd8aa2 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1146,14 +1146,9 @@ device_found1(struct pci_dev *pcid, const struct pci_device_id *ent) dev->irq = pcid->irq; dev->netdev_ops = &device_netdev_ops; -#ifdef WIRELESS_EXT -//Einsn Modify for ubuntu-7.04 -// dev->wireless_handlers->get_wireless_stats = iwctl_get_wireless_stats; -#if WIRELESS_EXT > 12 +#ifdef CONFIG_WIRELESS_EXT dev->wireless_handlers = (struct iw_handler_def *)&iwctl_handler_def; -// netdev->wireless_handlers = NULL; -#endif /* WIRELESS_EXT > 12 */ -#endif /* WIRELESS_EXT */ +#endif rc = register_netdev(dev); if (rc) |