]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-pxa/ssp.c
[ARM] 5110/1: PXA SSP: Remember the platform device on probe()
[linux-2.6-omap-h63xx.git] / arch / arm / mach-pxa / ssp.c
index 363668cc3a9c57d0e726316ecd2ba2f666c07b48..20d0a06af06ce71be45685dbc64ce974aa126527 100644 (file)
@@ -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)) {