dect
/
linux-2.6
Archived
13
0
Fork 0

Input: wistron - fix test for CONFIG_PM

This should fix the following compile warning:

drivers/input/misc/wistron_btns.c:1331:5: warning: "CONFIG_PM" is not defined

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Rakib Mullick 2009-12-29 23:19:31 -08:00 committed by Dmitry Torokhov
parent c6bde2d9cb
commit e97006ae1c
1 changed files with 1 additions and 1 deletions

View File

@ -1328,7 +1328,7 @@ static struct platform_driver wistron_driver = {
.driver = {
.name = "wistron-bios",
.owner = THIS_MODULE,
#if CONFIG_PM
#ifdef CONFIG_PM
.pm = &wistron_pm_ops,
#endif
},