From: Greg Kroah-Hartman Date: Wed, 27 Aug 2014 23:55:29 +0000 (-0700) Subject: USB: fix build error with CONFIG_PM_RUNTIME disabled X-Git-Tag: omap-fixes-against-v3.17-rc3~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9ef803d740bfadf5e505fbc57efa57692e27025;p=pandora-kernel.git USB: fix build error with CONFIG_PM_RUNTIME disabled commit bdd405d2a528 ("usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1") causes a build error if CONFIG_PM_RUNTIME is disabled. Fix that by doing a simple #ifdef guard around it. Reported-by: Stephen Rothwell Reported-by: kbuild test robot Cc: Roger Quadros Cc: Michael Welling Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed