summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-02-16 10:27:19 (GMT)
committerArnd Bergmann <arnd@arndb.de>2013-02-16 10:27:19 (GMT)
commit62508a5d25e355cc19c3ade3c3b7dddc6d326cc5 (patch)
tree1e838584e302ff47a39a31c0d8e146d3128a393f /drivers
parent7e5fc7793179ea5ef12f4287512b142813c6ac7c (diff)
parent8c43fcc7804fc4609ccd9fa021e21f5423db9d96 (diff)
downloadlinux-fsl-qoriq-62508a5d25e355cc19c3ade3c3b7dddc6d326cc5.tar.xz
Merge tag 'renesas-pinmux2-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/sh-pinmux
Bug fix from Magnus that resolves a regression introduced in pfc changes queued up for 3.9. * tag 'renesas-pinmux2-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: sh-pfc: sh_pfc_probe() sizeof() fix Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pinctrl/sh-pfc/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c
index d323c24f..970ddff 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -495,7 +495,7 @@ static int sh_pfc_probe(struct platform_device *pdev)
if (info == NULL)
return -ENODEV;
- pfc = devm_kzalloc(&pdev->dev, sizeof(pfc), GFP_KERNEL);
+ pfc = devm_kzalloc(&pdev->dev, sizeof(*pfc), GFP_KERNEL);
if (pfc == NULL)
return -ENOMEM;