mm: thp: set the accessed flag for old pages on access fault
[pandora-kernel.git] / drivers / usb / host / fsl-mph-dr-of.c
index 79a66d6..5a42cf0 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/io.h>
 #include <linux/of_platform.h>
 #include <linux/clk.h>
+#include <linux/module.h>
 
 struct fsl_usb2_dev_data {
        char *dr_mode;          /* controller mode */
@@ -93,7 +94,6 @@ struct platform_device * __devinit fsl_usb2_device_register(
        pdev->dev.parent = &ofdev->dev;
 
        pdev->dev.coherent_dma_mask = ofdev->dev.coherent_dma_mask;
-       pdev->dev.dma_mask = &pdev->archdata.dma_mask;
        *pdev->dev.dma_mask = *ofdev->dev.dma_mask;
 
        retval = platform_device_add_data(pdev, pdata, sizeof(*pdata));