]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: vt6655: Fix warnings if CONFIG_PM is not defined
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 5 May 2011 23:52:56 +0000 (18:52 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 May 2011 16:27:34 +0000 (09:27 -0700)
commit9fada0a0c5d4f51064e20b3a4fb15437992757cd
treed6f67c1546565784fa04384c9240e93938f588ed
parent4b455e0dabbe5f023ce906741295d64c4234672f
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 <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6655/device.h