[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090716233312.3586f9a5@hammerfall>
Date: Thu, 16 Jul 2009 23:33:12 +0200
From: Michal Schmidt <mschmidt@...hat.com>
To: Matthew Garrett <mjg@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
rpurdie@...ys.net, lenb@...nel.org, rui.zhang@...el.com,
corentincj@...aif.net, Matthew Garrett <mjg@...hat.com>
Subject: Re: [PATCH 1/3] backlight: Allow drivers to update the core, and
generate events on changes
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists