diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/usb/host/ehci-lpm.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/usb/host/ehci-lpm.c')
-rw-r--r-- | drivers/usb/host/ehci-lpm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-lpm.c b/drivers/usb/host/ehci-lpm.c index b4d4d63c13ed..2111627a19de 100644 --- a/drivers/usb/host/ehci-lpm.c +++ b/drivers/usb/host/ehci-lpm.c | |||
@@ -17,7 +17,8 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | /* this file is part of ehci-hcd.c */ | 19 | /* this file is part of ehci-hcd.c */ |
20 | static int ehci_lpm_set_da(struct ehci_hcd *ehci, int dev_addr, int port_num) | 20 | static int __maybe_unused ehci_lpm_set_da(struct ehci_hcd *ehci, |
21 | int dev_addr, int port_num) | ||
21 | { | 22 | { |
22 | u32 __iomem portsc; | 23 | u32 __iomem portsc; |
23 | 24 | ||
@@ -37,7 +38,7 @@ static int ehci_lpm_set_da(struct ehci_hcd *ehci, int dev_addr, int port_num) | |||
37 | * this function is used to check if the device support LPM | 38 | * this function is used to check if the device support LPM |
38 | * if yes, mark the PORTSC register with PORT_LPM bit | 39 | * if yes, mark the PORTSC register with PORT_LPM bit |
39 | */ | 40 | */ |
40 | static int ehci_lpm_check(struct ehci_hcd *ehci, int port) | 41 | static int __maybe_unused ehci_lpm_check(struct ehci_hcd *ehci, int port) |
41 | { | 42 | { |
42 | u32 __iomem *portsc ; | 43 | u32 __iomem *portsc ; |
43 | u32 val32; | 44 | u32 val32; |