aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_drv.h
diff options
context:
space:
mode:
authorHaneen Mohammed <hamohammed.sa@gmail.com>2017-10-17 22:30:07 -0600
committerSean Paul <seanpaul@chromium.org>2017-10-20 13:14:48 -0400
commit02c9656b2f0d6997939933d8573c2ffb587427e6 (patch)
tree976435da6aeeac33a69dd4ad582aeb91c2cb3227 /include/drm/drm_drv.h
parentdrm/rockchip: analogix_dp: Remove unnecessary init code (diff)
downloadwireguard-linux-02c9656b2f0d6997939933d8573c2ffb587427e6.tar.xz
wireguard-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.h7
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,