Commit ad6202b4d941c69e9154419bd3002fbcacccbb67
Committed by
Kishon Vijay Abraham I
1 parent
2d84aff9c3
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
phy: exynos5-usbdrd: Make local functions static
Make local functions static, because these are used only in this file. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
drivers/phy/phy-exynos5-usbdrd.c
... | ... | @@ -506,7 +506,7 @@ |
506 | 506 | .owner = THIS_MODULE, |
507 | 507 | }; |
508 | 508 | |
509 | -const struct exynos5_usbdrd_phy_config phy_cfg_exynos5[] = { | |
509 | +static const struct exynos5_usbdrd_phy_config phy_cfg_exynos5[] = { | |
510 | 510 | { |
511 | 511 | .id = EXYNOS5_DRDPHY_UTMI, |
512 | 512 | .phy_isol = exynos5_usbdrd_phy_isol, |
513 | 513 | |
... | ... | @@ -521,13 +521,13 @@ |
521 | 521 | }, |
522 | 522 | }; |
523 | 523 | |
524 | -const struct exynos5_usbdrd_phy_drvdata exynos5420_usbdrd_phy = { | |
524 | +static const struct exynos5_usbdrd_phy_drvdata exynos5420_usbdrd_phy = { | |
525 | 525 | .phy_cfg = phy_cfg_exynos5, |
526 | 526 | .pmu_offset_usbdrd0_phy = EXYNOS5_USBDRD_PHY_CONTROL, |
527 | 527 | .pmu_offset_usbdrd1_phy = EXYNOS5420_USBDRD1_PHY_CONTROL, |
528 | 528 | }; |
529 | 529 | |
530 | -const struct exynos5_usbdrd_phy_drvdata exynos5250_usbdrd_phy = { | |
530 | +static const struct exynos5_usbdrd_phy_drvdata exynos5250_usbdrd_phy = { | |
531 | 531 | .phy_cfg = phy_cfg_exynos5, |
532 | 532 | .pmu_offset_usbdrd0_phy = EXYNOS5_USBDRD_PHY_CONTROL, |
533 | 533 | }; |