diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-11-25 11:10:59 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-25 11:12:15 -0600 |
commit | d07a59019d09fc71b6ae4de98478ae6375ee85ad (patch) | |
tree | cbf56493dc080e40a006f75594f8ef2fa45a4b8f /drivers/usb | |
parent | f91d2f4337cdf8009da21cb93173099caf7981d4 (diff) | |
download | blackbird-op-linux-d07a59019d09fc71b6ae4de98478ae6375ee85ad.tar.gz blackbird-op-linux-d07a59019d09fc71b6ae4de98478ae6375ee85ad.zip |
usb: gadget: zero: module parameters can be static
g_zero's module parameters can, and should, be
static. This fixes sparse warnings.
Cc: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/zero.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index 0dd07ae1555d..f49b0b61ecc8 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c @@ -91,17 +91,17 @@ static struct usb_zero_options gzero_options = { * functional coverage for the "USBCV" test harness from USB-IF. * It's always set if OTG mode is enabled. */ -unsigned autoresume = DEFAULT_AUTORESUME; +static unsigned autoresume = DEFAULT_AUTORESUME; module_param(autoresume, uint, S_IRUGO); MODULE_PARM_DESC(autoresume, "zero, or seconds before remote wakeup"); /* Maximum Autoresume time */ -unsigned max_autoresume; +static unsigned max_autoresume; module_param(max_autoresume, uint, S_IRUGO); MODULE_PARM_DESC(max_autoresume, "maximum seconds before remote wakeup"); /* Interval between two remote wakeups */ -unsigned autoresume_interval_ms; +static unsigned autoresume_interval_ms; module_param(autoresume_interval_ms, uint, S_IRUGO); MODULE_PARM_DESC(autoresume_interval_ms, "milliseconds to increase successive wakeup delays"); |