diff options
author | Haneen Mohammed <hamohammed.sa@gmail.com> | 2017-10-18 06:30:07 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-10-20 19:14:48 +0200 |
commit | 02c9656b2f0d6997939933d8573c2ffb587427e6 (patch) | |
tree | 976435da6aeeac33a69dd4ad582aeb91c2cb3227 /include/drm/drm_drv.h | |
parent | drm/rockchip: analogix_dp: Remove unnecessary init code (diff) | |
download | linux-02c9656b2f0d6997939933d8573c2ffb587427e6.tar.xz linux-02c9656b2f0d6997939933d8573c2ffb587427e6.zip |
drm: Move debug macros out of drmP.h
This patch extract DRM_* debug macros from drmP.h to drm_print.h and
move printing related functions used by these macros from drm_drv.[hc]
to drm_print.[hc].
Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/4020bc7c5ffad2af516919f78bb837c7f366b82b.1508297716.git.hamohammed.sa@gmail.com
Diffstat (limited to 'include/drm/drm_drv.h')
-rw-r--r-- | include/drm/drm_drv.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index ee06ecd6c01f..0e90ef24214b 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h @@ -592,13 +592,6 @@ struct drm_driver { int dev_priv_size; }; -__printf(6, 7) -void drm_dev_printk(const struct device *dev, const char *level, - unsigned int category, const char *function_name, - const char *prefix, const char *format, ...); -__printf(3, 4) -void drm_printk(const char *level, unsigned int category, - const char *format, ...); extern unsigned int drm_debug; int drm_dev_init(struct drm_device *dev, |