Re: [PATCH] media: staging: zoran: refactor printk debugging function

Dan Carpenter <[email protected]> Thu, 21 Apr 2022 18:52:04 +0300
Newsgroups gmane.linux.drivers.video-input-infrastructure,gmane.comp.video.mjpeg.user
Message-ID <20220421155203.GB2462@kadam>
On Thu, Apr 21, 2022 at 11:22:00AM -0400, Ian Cowan wrote:
> 
> For using the dev_dbg() macro, do you define this in the header file
> (i.e. for this it would be videocodec.h), or where should this be
> included from?

dev_dbg() is defined in include/linux/dev_printk.h.  Look around at how
it's used.  pr_debug() might be an option, but I don't know if we will
accept that, we prefer dev_dbg().

regards,
dan carpenter