Message ID | 201306030058.27184.heiko@sntech.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Acked-by: Jaehoon Chung <jh80.chung@samsung.com> On 06/03/2013 07:58 AM, Heiko Stübner wrote: > dw_mci_pltfm_remove gets exported and used by dw_mmc-exynos, so should > not be static. > > Signed-off-by: Heiko Stuebner <heiko@sntech.de> > --- > drivers/mmc/host/dw_mmc-pltfm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c > index 37873f1..0048da8 100644 > --- a/drivers/mmc/host/dw_mmc-pltfm.c > +++ b/drivers/mmc/host/dw_mmc-pltfm.c > @@ -68,7 +68,7 @@ static int dw_mci_pltfm_probe(struct platform_device *pdev) > return dw_mci_pltfm_register(pdev, NULL); > } > > -static int dw_mci_pltfm_remove(struct platform_device *pdev) > +int dw_mci_pltfm_remove(struct platform_device *pdev) > { > struct dw_mci *host = platform_get_drvdata(pdev); > >
On 06/03/13 2013 7:58 AM, Heiko Stübner wrote: > dw_mci_pltfm_remove gets exported and used by dw_mmc-exynos, so should > not be static. > > Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Seungwon Jeon <tgih.jun@samsung.com> Thanks, Seungwon Jeon
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 37873f1..0048da8 100644 --- a/drivers/mmc/host/dw_mmc-pltfm.c +++ b/drivers/mmc/host/dw_mmc-pltfm.c @@ -68,7 +68,7 @@ static int dw_mci_pltfm_probe(struct platform_device *pdev) return dw_mci_pltfm_register(pdev, NULL); } -static int dw_mci_pltfm_remove(struct platform_device *pdev) +int dw_mci_pltfm_remove(struct platform_device *pdev) { struct dw_mci *host = platform_get_drvdata(pdev);
dw_mci_pltfm_remove gets exported and used by dw_mmc-exynos, so should not be static. Signed-off-by: Heiko Stuebner <heiko@sntech.de> --- drivers/mmc/host/dw_mmc-pltfm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)