diff options
| author | Geert Uytterhoeven <[email protected]> | 2016-12-14 14:37:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-01-05 18:24:55 +0000 |
| commit | 3bc02bce908c7250781376052248f5cd60a4e3d4 (patch) | |
| tree | fbd8a6888f283933b02c50e76c46454c25798929 /lib/timerqueue.c | |
| parent | usb: musb: blackfin: add bfin_fifo_offset in bfin_ops (diff) | |
| download | kernel-3bc02bce908c7250781376052248f5cd60a4e3d4.tar.gz kernel-3bc02bce908c7250781376052248f5cd60a4e3d4.zip | |
usb: hub: Move hub_port_disable() to fix warning if PM is disabled
If CONFIG_PM=n:
drivers/usb/core/hub.c:107: warning: ‘hub_usb3_port_prepare_disable’ declared inline after being called
drivers/usb/core/hub.c:107: warning: previous declaration of ‘hub_usb3_port_prepare_disable’ was here
To fix this, move hub_port_disable() after
hub_usb3_port_prepare_disable(), and adjust forward declarations.
Fixes: 37be66767e3cae4f ("usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
