On Wednesday 10 February 2010 10:36:41 Linus Lüssing wrote:
bat_printk is calling a printk which got previously substituted because of the define in compat.h. This patch removes the define for the scope of bat_printk.c.
After seeing your patch I understand the issue. We redefine printk() to bat_printk() which works fine for all functions except for bat_printk() itself. I think your approach seems to be a solution although we don't need to define printk at the end again, do we ?
Regards, Marek