mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
phy: exynos5-usbdrd: Remove "static" from local variable
The 'reg' local variable does not need to be static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
parent
017300da3a
commit
d223472505
1 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst,
|
||||||
static unsigned int
|
static unsigned int
|
||||||
exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst)
|
exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst)
|
||||||
{
|
{
|
||||||
static u32 reg;
|
u32 reg;
|
||||||
struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
|
struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
|
||||||
|
|
||||||
/* restore any previous reference clock settings */
|
/* restore any previous reference clock settings */
|
||||||
|
@ -295,7 +295,7 @@ exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst)
|
||||||
static unsigned int
|
static unsigned int
|
||||||
exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst)
|
exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst)
|
||||||
{
|
{
|
||||||
static u32 reg;
|
u32 reg;
|
||||||
struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
|
struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
|
||||||
|
|
||||||
/* restore any previous reference clock settings */
|
/* restore any previous reference clock settings */
|
||||||
|
|
Loading…
Reference in a new issue