summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-02 20:20:32 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-03 14:02:49 -0700
commitbaa0de2f50c389a8d20df7eab5cf804bb700502c (patch)
tree1056ce5052ef9e565b8b76e04d1eaa57bd2d9f5d /drivers/mfd
parentaa5614f943ceb4769be900a475e3e93f0f872d70 (diff)
mfd: tps65090: fix compilation warning
Fix compilation warning of -Wmaybe-uninitialized Change-Id: I4e6cbe9f5768407b5212d7c3dcfa842560d62748 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/120842 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/tps65090.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
index 8a911cab06ab..ec60ac746d2c 100644
--- a/drivers/mfd/tps65090.c
+++ b/drivers/mfd/tps65090.c
@@ -111,7 +111,7 @@ static irqreturn_t tps65090_irq(int irq, void *data)
{
struct tps65090 *tps65090 = data;
int ret = 0;
- u8 status, mask;
+ u8 status = 0, mask = 0;
unsigned long int acks = 0;
int i;