[PATCH 1/9] ps3: AV Settings Driver

Arnd Bergmann arnd at arndb.de
Tue Jan 30 11:16:57 EST 2007


On Monday 29 January 2007 16:14, Geert Uytterhoeven wrote:
> 
> > You should probably use the provided pr_debug or (better) dev_dbg
> > macros to do that now.
> 
> Except that it's difficult to get a struct device * in drivers/ps3/ps3av_cmd.c.
> And I prefer not to make ps3av_dev (which is currently static) global.

Ok, as I said, dev_dbg is the preferred way, but of course it only
works when you carry a device along. If you don't have one, use
pr_debug().

	Arnd <><



More information about the Linuxppc-dev mailing list