Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21054
b: refs/heads/master
c: 66be0c3
h: refs/heads/master
v: v3
  • Loading branch information
Albrecht Dre� authored and Russell King committed Mar 15, 2006
1 parent 5f85017 commit 70e7dcc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ebf2d00260bac5213c5dfb8d257e15e40503725
refs/heads/master: 66be0c30282bef9ef5ab1f89028834ea00f4b4ae
12 changes: 12 additions & 0 deletions trunk/arch/arm/mach-s3c2410/devs.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,17 @@ static struct resource s3c_spi0_resource[] = {

};

static u64 s3c_device_spi0_dmamask = 0xffffffffUL;

struct platform_device s3c_device_spi0 = {
.name = "s3c2410-spi",
.id = 0,
.num_resources = ARRAY_SIZE(s3c_spi0_resource),
.resource = s3c_spi0_resource,
.dev = {
.dma_mask = &s3c_device_spi0_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};

EXPORT_SYMBOL(s3c_device_spi0);
Expand All @@ -359,11 +365,17 @@ static struct resource s3c_spi1_resource[] = {

};

static u64 s3c_device_spi1_dmamask = 0xffffffffUL;

struct platform_device s3c_device_spi1 = {
.name = "s3c2410-spi",
.id = 1,
.num_resources = ARRAY_SIZE(s3c_spi1_resource),
.resource = s3c_spi1_resource,
.dev = {
.dma_mask = &s3c_device_spi1_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};

EXPORT_SYMBOL(s3c_device_spi1);
Expand Down

0 comments on commit 70e7dcc

Please sign in to comment.