diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-23 00:08:35 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-03-03 19:55:33 +0300 |
commit | fcda50c8f484cf1140232c8444470449f0619db9 (patch) | |
tree | 93353e76e0bfc33e582025bd53a009aa7b09ca04 /drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c | |
parent | 7977f4426c44da95c5dba91a62f099411e029de8 (diff) | |
download | linux-fcda50c8f484cf1140232c8444470449f0619db9.tar.xz |
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_8x74.c')
-rw-r--r-- | drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c index 145e38eb17e2..c4a61e537851 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c @@ -45,7 +45,7 @@ static const char * const hdmi_phy_8x74_clk_names[] = { "alt_iface_clk" }; -const struct hdmi_phy_cfg hdmi_phy_8x74_cfg = { +const struct hdmi_phy_cfg msm_hdmi_phy_8x74_cfg = { .type = MSM_HDMI_PHY_8x74, .powerup = hdmi_phy_8x74_powerup, .powerdown = hdmi_phy_8x74_powerdown, |