From 22cee55535581d41050a6493868a3d6a6ac685a7 Mon Sep 17 00:00:00 2001 From: Maksim Rayskiy Date: Tue, 8 Feb 2011 10:41:42 -0800 Subject: [PATCH] --- yaml --- r: 235311 b: refs/heads/master c: 4f9e6c64d1fc4668f3153f456b41cf40b30c730f h: refs/heads/master i: 235309: fa2a320a42f7f8cdaec1e761ce3e645089b68747 235307: d6ccf0ecb442ce39081e62383207b771c48f6071 235303: 5c76267f7825b98e42d451fc74a3b300360f90ba 235295: f8f4199e265c253812b710dda74540b48d4f41c2 v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/ehci-lpm.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index d00cfed600ef..e39f72200f4c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6b2e30c07f6c1514bb9946171770af61c305b86c +refs/heads/master: 4f9e6c64d1fc4668f3153f456b41cf40b30c730f diff --git a/trunk/drivers/usb/host/ehci-lpm.c b/trunk/drivers/usb/host/ehci-lpm.c index b4d4d63c13ed..2111627a19de 100644 --- a/trunk/drivers/usb/host/ehci-lpm.c +++ b/trunk/drivers/usb/host/ehci-lpm.c @@ -17,7 +17,8 @@ */ /* this file is part of ehci-hcd.c */ -static int ehci_lpm_set_da(struct ehci_hcd *ehci, int dev_addr, int port_num) +static int __maybe_unused ehci_lpm_set_da(struct ehci_hcd *ehci, + int dev_addr, int port_num) { u32 __iomem portsc; @@ -37,7 +38,7 @@ static int ehci_lpm_set_da(struct ehci_hcd *ehci, int dev_addr, int port_num) * this function is used to check if the device support LPM * if yes, mark the PORTSC register with PORT_LPM bit */ -static int ehci_lpm_check(struct ehci_hcd *ehci, int port) +static int __maybe_unused ehci_lpm_check(struct ehci_hcd *ehci, int port) { u32 __iomem *portsc ; u32 val32;