diff options
author | Mark Brown <broonie@sirena.org.uk> | 2008-06-19 02:55:52 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-10 17:07:36 +0100 |
commit | 919dcb2111dea341a8281a3dc893967c7dccd93f (patch) | |
tree | b96b9891956bded8a5e7f3ebb3a8fc37d67fb60d | |
parent | bbae02035a87a3ef45f751032ec8d2bb6f3ed496 (diff) | |
download | blackbird-op-linux-919dcb2111dea341a8281a3dc893967c7dccd93f.tar.gz blackbird-op-linux-919dcb2111dea341a8281a3dc893967c7dccd93f.zip |
[ARM] 5110/1: PXA SSP: Remember the platform device on probe()
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>
-rw-r--r-- | arch/arm/mach-pxa/ssp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c index 363668cc3a9c..20d0a06af06c 100644 --- 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)) { |