diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-22 22:08:35 +0100 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-03-03 11:55:33 -0500 |
commit | fcda50c8f484cf1140232c8444470449f0619db9 (patch) | |
tree | 93353e76e0bfc33e582025bd53a009aa7b09ca04 /drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | |
parent | 7977f4426c44da95c5dba91a62f099411e029de8 (diff) |
drm/msm: rename hdmi symbols
Global symbols in the kernel should be prefixed by the name
of the subsystem and/or driver to avoid conflicts when all
code is built-in.
In this case, function names like 'hdmi_register' or 'hdmi_set_mode'
are way too generic for an MSM specific DRM driver, so I'm renaming
them all to msm_hdmi_* here.
I also rename a lot of the 'static' symbols along with the global
names for consistency, even though those are relatively harmless;
they might only be slightly confusing when they show up in
backtraces.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c')
-rw-r--r-- | drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c index ed38976e599a..aa94a553794f 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c @@ -704,7 +704,7 @@ static struct clk_init_data pll_init = { .num_parents = ARRAY_SIZE(hdmi_pll_parents), }; -int hdmi_pll_8996_init(struct platform_device *pdev) +int msm_hdmi_pll_8996_init(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct hdmi_pll_8996 *pll; @@ -757,7 +757,7 @@ static const char * const hdmi_phy_8996_clk_names[] = { "ref_clk", }; -const struct hdmi_phy_cfg hdmi_phy_8996_cfg = { +const struct hdmi_phy_cfg msm_hdmi_phy_8996_cfg = { .type = MSM_HDMI_PHY_8996, .reg_names = hdmi_phy_8996_reg_names, .num_regs = ARRAY_SIZE(hdmi_phy_8996_reg_names), |