|
@@ -37,7 +37,7 @@
|
|
|
#include <linux/module.h>
|
|
|
|
|
|
#include "rt2x00.h"
|
|
|
-#if defined(CONFIG_RT2800USB) || defined(CONFIG_RT2800USB_MODULE)
|
|
|
+#if defined(CONFIG_RT2X00_LIB_USB) || defined(CONFIG_RT2X00_LIB_USB_MODULE)
|
|
|
#include "rt2x00usb.h"
|
|
|
#endif
|
|
|
#include "rt2800lib.h"
|
|
@@ -1121,7 +1121,7 @@ int rt2800_init_registers(struct rt2x00_dev *rt2x00dev)
|
|
|
|
|
|
if (rt2x00_intf_is_usb(rt2x00dev)) {
|
|
|
rt2800_register_write(rt2x00dev, USB_DMA_CFG, 0x00000000);
|
|
|
-#if defined(CONFIG_RT2800USB) || defined(CONFIG_RT2800USB_MODULE)
|
|
|
+#if defined(CONFIG_RT2X00_LIB_USB) || defined(CONFIG_RT2X00_LIB_USB_MODULE)
|
|
|
rt2x00usb_vendor_request_sw(rt2x00dev, USB_DEVICE_MODE, 0,
|
|
|
USB_MODE_RESET, REGISTER_TIMEOUT);
|
|
|
#endif
|