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_pll_8960.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_pll_8960.c')
-rw-r--r-- | drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c b/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c index 35830a9ab615..92da69aa6187 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c @@ -426,7 +426,7 @@ static struct clk_init_data pll_init = { .num_parents = ARRAY_SIZE(hdmi_pll_parents), }; -int hdmi_pll_8960_init(struct platform_device *pdev) +int msm_hdmi_pll_8960_init(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct hdmi_pll_8960 *pll; |