Re: hp accelerometer: add freefall detection

From: Andrew Morton
Date: Fri Jan 16 2009 - 17:34:58 EST


On Fri, 16 Jan 2009 13:19:40 +0100
Pavel Machek <pavel@xxxxxxx> wrote:

> new file mode 100755
> index 0000000..7d17764
> --- /dev/null
> +++ b/Documentation/hwmon/hpfall.c

checkpatch has fun with this file.

>
> ...
>
> -struct acpi_lis3lv02d adev;
> +struct acpi_lis3lv02d adev = {
> + .misc_wait = __WAIT_QUEUE_HEAD_INITIALIZER(adev.misc_wait),
> +};
> +
> EXPORT_SYMBOL_GPL(adev);

This seems a rather poor name for a globally-visible identifier.
--
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/