Skip to content

Commit

Permalink
drm/print: Fix DRM_DEBUG_DP macro
Browse files Browse the repository at this point in the history
This isn't supposed to take dev as an argument, I guess no one noticed!

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180718215716.5784-1-lyude@redhat.com
  • Loading branch information
Lyude Paul committed Jul 19, 2018
1 parent dcf496a commit 106b6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/drm/drm_print.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void drm_err(const char *format, ...);

#define DRM_DEV_DEBUG_DP(dev, fmt, ...) \
drm_dev_dbg(dev, DRM_UT_DP, fmt, ## __VA_ARGS__)
#define DRM_DEBUG_DP(dev, fmt, ...) \
#define DRM_DEBUG_DP(fmt, ...) \
drm_dbg(DRM_UT_DP, fmt, ## __VA_ARGS__)

#define _DRM_DEV_DEFINE_DEBUG_RATELIMITED(dev, category, fmt, ...) \
Expand Down

0 comments on commit 106b6c3

Please sign in to comment.