Commit dd4f5213 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

staging: gdm72xx: WIMAX_GDM72XX_USB_PM should depend on USB_SUSPEND

Use Kconfig logic instead of a rude #error in the driver source,
which breaks m68k-allmodconfig.
Also remove the "default n", as that's the default.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: Sage Ahn <syahn@gctsemi.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 00bf19f3
...@@ -38,7 +38,7 @@ if WIMAX_GDM72XX_USB ...@@ -38,7 +38,7 @@ if WIMAX_GDM72XX_USB
config WIMAX_GDM72XX_USB_PM config WIMAX_GDM72XX_USB_PM
bool "Enable power managerment support" bool "Enable power managerment support"
default n depends on USB_SUSPEND
endif # WIMAX_GDM72XX_USB endif # WIMAX_GDM72XX_USB
......
...@@ -17,12 +17,6 @@ ...@@ -17,12 +17,6 @@
#include <linux/usb.h> #include <linux/usb.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#ifdef CONFIG_WIMAX_GDM72XX_USB_PM
#ifndef CONFIG_USB_SUSPEND
#error "USB host doesn't support USB Selective Suspend."
#endif
#endif
#include "gdm_usb.h" #include "gdm_usb.h"
#include "gdm_wimax.h" #include "gdm_wimax.h"
#include "usb_boot.h" #include "usb_boot.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment