diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-07-04 19:09:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:36 (GMT) |
commit | e882335bb19c0b9f96971fa6b1fe6c019280056b (patch) | |
tree | 01cdab131836c67e19ce4dddf8f74a52104d96f6 /drivers/staging/vt6656 | |
parent | 70f38b105311c8e19a7fe89811d13ef81690072c (diff) | |
download | linux-fsl-qoriq-e882335bb19c0b9f96971fa6b1fe6c019280056b.tar.xz |
Staging: vt665x: depend on WIRELESS_EXT
Make vt665x depended on WIRELESS_EXT and remove remain ifdef's
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/Kconfig | 1 | ||||
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/Kconfig b/drivers/staging/vt6656/Kconfig index f823a74..3165f2c 100644 --- a/drivers/staging/vt6656/Kconfig +++ b/drivers/staging/vt6656/Kconfig @@ -1,5 +1,6 @@ config VT6656 tristate "VIA Technologies VT6656 support" + depends on WIRELESS_EXT && USB ---help--- This is a vendor-written driver for VIA VT6656. diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index a3600c8..8a6814d 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -856,9 +856,7 @@ vntwusb_found1(struct usb_interface *intf, const struct usb_device_id *id) netdev->netdev_ops = &device_netdev_ops; -#ifdef CONFIG_WIRELESS_EXT netdev->wireless_handlers = (struct iw_handler_def *)&iwctl_handler_def; -#endif /* WIRELESS_EXT */ //2008-0623-01<Remark>by MikeLiu //2007-0821-01<Add>by MikeLiu |