Re: [PATCH 1/3] backlight: Allow drivers to update the core, andgenerate events on changes

From: Michal Schmidt
Date: Thu Jul 16 2009 - 17:41:12 EST


Dne Tue, 14 Jul 2009 17:06:02 +0100 Matthew Garrett napsal:
> +static void backlight_generate_event(struct backlight_device *bd,
> + enum backlight_update_reason
> reason) +{
> + char *envp[2];
> +
> + switch (reason) {
> + case BACKLIGHT_UPDATE_SYSFS:
> + envp[0] = "SOURCE=sysfs";
> + break;
> + case BACKLIGHT_UPDATE_HOTKEY:
> + envp[0] = "SOURCE=hotkey";
> + break;
> + default:
> + envp[0] = "SORUCE=unknown";

There's a typo here. s/SORUCE/SOURCE/

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/