[linux-yocto] [PATCH 10/12] device property: add spaces to PROPERTY_ENTRY_STRING macro

weifeng.voon at intel.com weifeng.voon at intel.com
Tue Mar 22 02:21:26 PDT 2016


From: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Just a style fix, no functional changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
(cherry picked from commit aace7367bf83aef7baa021c7bcc9d2e331b040aa)
Signed-off-by: Voon, Weifeng <weifeng.voon at intel.com>
---
 include/linux/property.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/property.h b/include/linux/property.h
index e0f27bd..4d6a950 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -224,7 +224,7 @@ struct property_entry {
 	.name = _name_,					\
 	.length = sizeof(_val_),			\
 	.is_string = true,				\
-	{ .value = {.str = _val_} },			\
+	{ .value = { .str = _val_ } },			\
 }
 
 #define PROPERTY_ENTRY_BOOL(_name_)		\
-- 
1.9.1



More information about the linux-yocto mailing list