]> git.baikalelectronics.ru Git - kernel.git/commit
linux-next: et131x: Fix build error when CONFIG_PM_SLEEP not enabled
authorMark Einon <mark.einon@gmail.com>
Fri, 4 Nov 2011 17:58:02 +0000 (17:58 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 22:52:09 +0000 (14:52 -0800)
commit1fd5477e9bfe90edc215f10173900b28d8b12a93
tree00526fe270170f05ba888ed7aca368bdf8e5f6fc
parent1702edd879a1effa33f4d48d4e5d867ef01f10d1
linux-next: et131x: Fix build error when CONFIG_PM_SLEEP not enabled

Randy Dunlap reports that the ex131x driver doesn't build when CONFIG_PM_SLEEP is not enabled.
This bug was introduced when moving code around to remove some forward declarations earlier, the #endif part of #ifdef CONFIG_PM_SLEEP was not moved at the same time. Now fixed by moving it to its proper place.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x.c