devices.c (8f58de7c3932f659fff3b4e5fc14ca8ccf8ec873) | devices.c (fafc9d3fa35530c1a14e6743c477d7398b431e74) |
---|---|
1#include <linux/module.h> 2#include <linux/kernel.h> 3#include <linux/init.h> 4#include <linux/platform_device.h> 5#include <linux/dma-mapping.h> 6 7#include <asm/arch/gpio.h> 8#include <asm/arch/udc.h> --- 37 unchanged lines hidden (view full) --- 46 .flags = IORESOURCE_DMA, 47 }, 48}; 49 50static u64 pxamci_dmamask = 0xffffffffUL; 51 52struct platform_device pxa_device_mci = { 53 .name = "pxa2xx-mci", | 1#include <linux/module.h> 2#include <linux/kernel.h> 3#include <linux/init.h> 4#include <linux/platform_device.h> 5#include <linux/dma-mapping.h> 6 7#include <asm/arch/gpio.h> 8#include <asm/arch/udc.h> --- 37 unchanged lines hidden (view full) --- 46 .flags = IORESOURCE_DMA, 47 }, 48}; 49 50static u64 pxamci_dmamask = 0xffffffffUL; 51 52struct platform_device pxa_device_mci = { 53 .name = "pxa2xx-mci", |
54 .id = -1, | 54 .id = 0, |
55 .dev = { 56 .dma_mask = &pxamci_dmamask, 57 .coherent_dma_mask = 0xffffffff, 58 }, 59 .num_resources = ARRAY_SIZE(pxamci_resources), 60 .resource = pxamci_resources, 61}; 62 --- 490 unchanged lines hidden --- | 55 .dev = { 56 .dma_mask = &pxamci_dmamask, 57 .coherent_dma_mask = 0xffffffff, 58 }, 59 .num_resources = ARRAY_SIZE(pxamci_resources), 60 .resource = pxamci_resources, 61}; 62 --- 490 unchanged lines hidden --- |