UPSTREAM: staging: gdm72xx: WIMAX_GDM72XX_USB_PM should depend on USB_SUSPEND
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 16 May 2012 19:47:40 +0000 (21:47 +0200)
committerOlof Johansson <olof@lixom.net>
Fri, 1 Jun 2012 07:04:04 +0000 (00:04 -0700)
commit6ead8d981b7b641b4f9a2c9b2ba2ee696054670d
tree1816552124be79ff1311ba1ac3a5527e16193d4b
parent20ea2213f4ffd16b0e75f7758e75fecd49480de1
UPSTREAM: 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: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Sage Ahn <syahn@gctsemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit dd4f521399d059b9c42e95a42c5373e10d14c0c6)

Signed-off-by: Ben Chan <benchan@chromium.org>
Change-Id: Ia94c6b0f0afa31545b3762ccc20341edaf7aa4e5
Reviewed-on: https://gerrit.chromium.org/gerrit/22960
Reviewed-by: Paul Stewart <pstew@chromium.org>
drivers/staging/gdm72xx/Kconfig
drivers/staging/gdm72xx/gdm_usb.c