]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit2e9ff8d917af622785b5b9f46d849b7eee43b29c
tree00526fe270170f05ba888ed7aca368bdf8e5f6fc
parentcfcfc9eca2bcbd26a8e206baeb005b055dbf8e37
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