]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/devices.c
hsmmc init passes device nodes back
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / devices.c
index 2c3c72f499ecfaf655350d10e99fcbc7842ebe70..dd836e2dbf8c89c20717810a56fb9c7b9ee56794 100644 (file)
@@ -232,6 +232,9 @@ int __init omap_mmc_add(int id, unsigned long base, unsigned long size,
        ret = platform_device_add(pdev);
        if (ret)
                goto fail;
+
+       /* return device handle to board setup code */
+       data->dev = &pdev->dev;
        return 0;
 
 fail: