2013-08-23 11:13:13

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] mfd: omap-usb-host: Staticize usbhs_driver_name

usbhs_driver_name is used only in this file. Make it static.

Signed-off-by: Sachin Kamat <[email protected]>
---
drivers/mfd/omap-usb-host.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index d2b8e71..29ee54d 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -114,7 +114,7 @@ struct usbhs_hcd_omap {
};
/*-------------------------------------------------------------------------*/

-const char usbhs_driver_name[] = USBHS_DRIVER_NAME;
+static const char usbhs_driver_name[] = USBHS_DRIVER_NAME;
static u64 usbhs_dmamask = DMA_BIT_MASK(32);

/*-------------------------------------------------------------------------*/
--
1.7.4.1


2013-08-27 07:32:24

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH 1/1] mfd: omap-usb-host: Staticize usbhs_driver_name

On Fri, 23 Aug 2013, Sachin Kamat wrote:

> usbhs_driver_name is used only in this file. Make it static.
>
> Signed-off-by: Sachin Kamat <[email protected]>
> ---
> drivers/mfd/omap-usb-host.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog