Commit 9fada0a0 authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman

staging: vt6655: Fix warnings if CONFIG_PM is not defined

If staging:vt6655 is built without CONFIG_DM being defined, there are large
numbers of warnings of the following form due to use of #if instead of #ifdef:

In file included from drivers/staging/vt6655/upc.h:32,
                 from drivers/staging/vt6655/mac.h:39,
                 from drivers/staging/vt6655/wroute.c:34:
drivers/staging/vt6655/device.h:399:5: warning: "CONFIG_PM" is not defined
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4b455e0d
...@@ -396,7 +396,7 @@ typedef struct __device_info { ...@@ -396,7 +396,7 @@ typedef struct __device_info {
struct pci_dev* pcid; struct pci_dev* pcid;
#if CONFIG_PM #ifdef CONFIG_PM
u32 pci_state[16]; u32 pci_state[16];
#endif #endif
......
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