OSDN Git Service

soc/fsl/qe: add EXPORT_SYMBOL for the 2 qe_tdm functions
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 17 Feb 2017 10:29:47 +0000 (11:29 +0100)
committerScott Wood <oss@buserror.net>
Sun, 30 Apr 2017 06:32:12 +0000 (01:32 -0500)
This allows to build the fsl_ucc_hdlc driver as a module.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qe/qe_tdm.c

index a1048b4..f744c21 100644 (file)
@@ -177,6 +177,7 @@ err_miss_siram_property:
        devm_iounmap(&pdev->dev, utdm->si_regs);
        return ret;
 }
+EXPORT_SYMBOL(ucc_of_parse_tdm);
 
 void ucc_tdm_init(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info)
 {
@@ -274,3 +275,4 @@ void ucc_tdm_init(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info)
                break;
        }
 }
+EXPORT_SYMBOL(ucc_tdm_init);