projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/ssp.c
b/arch/arm/mach-pxa/ssp.c
index 363668cc3a9c57d0e726316ecd2ba2f666c07b48..20d0a06af06ce71be45685dbc64ce974aa126527 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)) {