From 9fada0a0c5d4f51064e20b3a4fb15437992757cd Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 5 May 2011 18:52:56 -0500 Subject: [PATCH] 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: Larry Finger Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 2e7c2fd7b7e6..780205c0a88b 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -396,7 +396,7 @@ typedef struct __device_info { struct pci_dev* pcid; -#if CONFIG_PM +#ifdef CONFIG_PM u32 pci_state[16]; #endif -- 2.39.5