projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbae020
)
[ARM] 5110/1: PXA SSP: Remember the platform device on probe()
author
Mark Brown
<broonie@sirena.org.uk>
Thu, 19 Jun 2008 01:55:52 +0000
(
02:55
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 10 Jul 2008 16:07:36 +0000
(17:07 +0100)
pdev is used later on by dev_printk() so must be set.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/ssp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/ssp.c
b/arch/arm/mach-pxa/ssp.c
index
363668c
..
20d0a06
100644
(file)
--- a/
arch/arm/mach-pxa/ssp.c
+++ b/
arch/arm/mach-pxa/ssp.c
@@
-361,6
+361,7
@@
static int __devinit ssp_probe(struct platform_device *pdev, int type)
dev_err(&pdev->dev, "failed to allocate memory");
return -ENOMEM;
}
+ ssp->pdev = pdev;
ssp->clk = clk_get(&pdev->dev, "SSPCLK");
if (IS_ERR(ssp->clk)) {