Messages in this thread Patch in this message | | | From | Daniel Thompson <> | Subject | [PATCH] of: Fix brace position for struct of_device_id definition | Date | Thu, 23 Oct 2014 14:53:50 +0100 |
| |
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.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> --- 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 44eeef0..0acc82d 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
| |