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/msm_drv.h | |
parent | 7977f4426c44da95c5dba91a62f099411e029de8 (diff) | |
download | op-kernel-dev-fcda50c8f484cf1140232c8444470449f0619db9.zip op-kernel-dev-fcda50c8f484cf1140232c8444470449f0619db9.tar.gz |
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/msm_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 1aff485..870dbe5 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -243,10 +243,10 @@ struct drm_fb_helper *msm_fbdev_init(struct drm_device *dev); void msm_fbdev_free(struct drm_device *dev); struct hdmi; -int hdmi_modeset_init(struct hdmi *hdmi, struct drm_device *dev, +int msm_hdmi_modeset_init(struct hdmi *hdmi, struct drm_device *dev, struct drm_encoder *encoder); -void __init hdmi_register(void); -void __exit hdmi_unregister(void); +void __init msm_hdmi_register(void); +void __exit msm_hdmi_unregister(void); struct msm_edp; void __init msm_edp_register(void); |