aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Buckley <bryan.buckley@ti.com>2011-12-28 16:19:12 -0600
committerDan Murphy <dmurphy@ti.com>2012-01-05 10:25:18 -0600
commit988141dfb9052db8807d29d3bf9b0744830de9db (patch)
tree51e02e9b2fd26687d8086fd2a9a6f1bdbdc3536e
parentf119fdbbe6d9f2a663aa5eedf52353dcac9087de (diff)
downloadkernel_samsung_espresso10-988141dfb9052db8807d29d3bf9b0744830de9db.zip
kernel_samsung_espresso10-988141dfb9052db8807d29d3bf9b0744830de9db.tar.gz
kernel_samsung_espresso10-988141dfb9052db8807d29d3bf9b0744830de9db.tar.bz2
SMC: Fix compiler warnings
security/smc/tf_device.c:174: missing braces around initializer security/smc/tf_device.c:174: (near initialization for 'g_tf_dev.kobj') Change-Id: Ia8b3b9420ab3b860900d1db9fe0ed925b96fc200 Signed-off-by: Bryan Buckley <bryan.buckley@ti.com>
-rw-r--r--security/smc/tf_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smc/tf_device.c b/security/smc/tf_device.c
index 9ee72ec..df11669 100644
--- a/security/smc/tf_device.c
+++ b/security/smc/tf_device.c
@@ -171,7 +171,7 @@ static const struct file_operations g_tf_device_file_ops = {
};
/* The single device supported by this driver */
-static struct tf_device g_tf_dev = {0, };
+static struct tf_device g_tf_dev = { { 0, } };
/*----------------------------------------------------------------------------
* Implementations