Re: [RESEND PATCH 3.19-rc2] of: Fix brace position for struct of_device_id definition

From: Rob Herring
Date: Tue Feb 03 2015 - 21:34:29 EST


On Mon, Jan 5, 2015 at 9:43 AM, Daniel Thompson
<daniel.thompson@xxxxxxxxxx> wrote:
> Currently it is not easy to grep for the definition of struct of_device_id.
> This is trivially fixed by moving the brace to the right place.

Applied. Thanks.

Rob

> Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxx>
> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> ---
> include/linux/mod_devicetable.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
> index 745def862580..bbf85d612be5 100644
> --- a/include/linux/mod_devicetable.h
> +++ b/include/linux/mod_devicetable.h
> @@ -220,8 +220,7 @@ struct serio_device_id {
> /*
> * Struct used for matching a device
> */
> -struct of_device_id
> -{
> +struct of_device_id {
> char name[32];
> char type[32];
> char compatible[128];
> --
> 1.9.3
>
--
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/