X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fu132-hcd.c;h=598ad098aeeb703cb3d29fb468a4c7603236ee1f;hb=ca337db6f92a32347172a20b96f6f51b7bb63b7c;hp=7f765ec038cd4eb3846276c3c1f88879851260c0;hpb=939ab20152390c8ccccfa6fac0830405ca91d903;p=cascardo%2Flinux.git diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 7f765ec038cd..598ad098aeeb 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c @@ -51,7 +51,6 @@ #include #include #include -#include #include #include #include @@ -1520,12 +1519,15 @@ static void u132_hcd_endp_work_scheduler(struct work_struct *work) } } } +#ifdef CONFIG_PM static void port_power(struct u132 *u132, int pn, int is_on) { u132->port[pn].power = is_on; } +#endif + static void u132_power(struct u132 *u132, int is_on) { struct usb_hcd *hcd = u132_to_hcd(u132)