]> git.hungrycats.org Git - linux/commitdiff
[ARM] Add DMA mask for SA11x0 MCP device
authorRussell King <rmk@flint.arm.linux.org.uk>
Sat, 14 Feb 2004 19:15:31 +0000 (19:15 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 14 Feb 2004 19:15:31 +0000 (19:15 +0000)
arch/arm/mach-sa1100/generic.c

index 8d1f52ef0e89376f8abab5201c12ea95bba641c7..a0cc45fa591f13e4c70d3c5ac15419b89c527dc4 100644 (file)
@@ -159,9 +159,14 @@ static struct resource sa11x0mcp_resources[] = {
        },
 };
 
+static u64 sa11x0mcp_dma_mask = 0xffffffffUL;
+
 static struct platform_device sa11x0mcp_device = {
        .name           = "sa11x0-mcp",
        .id             = 0,
+       .dev = {
+               .dma_mask = &sa11x0mcp_dma_mask,
+       },
        .num_resources  = ARRAY_SIZE(sa11x0mcp_resources),
        .resource       = sa11x0mcp_resources,
 };