Skip to content

Commit

Permalink
Input: wistron - fix test for CONFIG_PM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rakib Mullick authored and Dmitry Torokhov committed Dec 30, 2009
1 parent c6bde2d commit e97006a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/misc/wistron_btns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit e97006a

Please sign in to comment.