Messages in this thread | | | Subject | Re: [PATCH 1/3] apple_bl: Convert printks to pr_<level> | From | Joe Perches <> | Date | Fri, 03 Feb 2012 12:39:50 -0800 |
| |
On Fri, 2012-02-03 at 14:28 -0600, Seth Forshee wrote: > Signed-off-by: Seth Forshee <seth.forshee@canonical.com> [] > diff --git a/drivers/video/backlight/apple_bl.c b/drivers/video/backlight/apple_bl.c > @@ -58,9 +53,7 @@ static int intel_chipset_send_intensity(struct backlight_device *bd) > { > int intensity = bd->props.brightness; > > - if (debug) > - printk(KERN_DEBUG DRIVER "setting brightness to %d\n", > - intensity); > + pr_debug("setting brightness to %d\n", intensity);
You may need to add "#define DEBUG" somewhere for this to work as you might expect it to.
An "allyesconfig" does effectively add one.
| |