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_8960.c | |
parent | 7977f4426c44da95c5dba91a62f099411e029de8 (diff) | |
download | linux-fcda50c8f484cf1140232c8444470449f0619db9.tar.bz2 |
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_8960.c')
-rw-r--r-- | drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c index 46d449e84d71..e6ee6b745ab7 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c @@ -51,7 +51,7 @@ static const char * const hdmi_phy_8960_clk_names[] = { "slave_iface_clk", }; -const struct hdmi_phy_cfg hdmi_phy_8960_cfg = { +const struct hdmi_phy_cfg msm_hdmi_phy_8960_cfg = { .type = MSM_HDMI_PHY_8960, .powerup = hdmi_phy_8960_powerup, .powerdown = hdmi_phy_8960_powerdown, |