Commit 9d59c17a authored by Seungwhan Youn's avatar Seungwhan Youn Committed by Kukjin Kim

ARM: S5P: Reorder DMA platform device id

This patch is matched-up DMA platform device id to its clock id.
Signed-off-by: default avatarSeungwhan Youn <sw.youn@samsung.com>
Acked-by: default avatarJassi Brar <jassi.brar@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent b05d8535
...@@ -82,7 +82,7 @@ static struct s3c_pl330_platdata s5p6442_pdma_pdata = { ...@@ -82,7 +82,7 @@ static struct s3c_pl330_platdata s5p6442_pdma_pdata = {
static struct platform_device s5p6442_device_pdma = { static struct platform_device s5p6442_device_pdma = {
.name = "s3c-pl330", .name = "s3c-pl330",
.id = 1, .id = -1,
.num_resources = ARRAY_SIZE(s5p6442_pdma_resource), .num_resources = ARRAY_SIZE(s5p6442_pdma_resource),
.resource = s5p6442_pdma_resource, .resource = s5p6442_pdma_resource,
.dev = { .dev = {
......
...@@ -122,7 +122,7 @@ static struct s3c_pl330_platdata s5p6450_pdma_pdata = { ...@@ -122,7 +122,7 @@ static struct s3c_pl330_platdata s5p6450_pdma_pdata = {
static struct platform_device s5p64x0_device_pdma = { static struct platform_device s5p64x0_device_pdma = {
.name = "s3c-pl330", .name = "s3c-pl330",
.id = 0, .id = -1,
.num_resources = ARRAY_SIZE(s5p64x0_pdma_resource), .num_resources = ARRAY_SIZE(s5p64x0_pdma_resource),
.resource = s5p64x0_pdma_resource, .resource = s5p64x0_pdma_resource,
.dev = { .dev = {
......
...@@ -81,7 +81,7 @@ static struct s3c_pl330_platdata s5pc100_pdma0_pdata = { ...@@ -81,7 +81,7 @@ static struct s3c_pl330_platdata s5pc100_pdma0_pdata = {
static struct platform_device s5pc100_device_pdma0 = { static struct platform_device s5pc100_device_pdma0 = {
.name = "s3c-pl330", .name = "s3c-pl330",
.id = 1, .id = 0,
.num_resources = ARRAY_SIZE(s5pc100_pdma0_resource), .num_resources = ARRAY_SIZE(s5pc100_pdma0_resource),
.resource = s5pc100_pdma0_resource, .resource = s5pc100_pdma0_resource,
.dev = { .dev = {
...@@ -143,7 +143,7 @@ static struct s3c_pl330_platdata s5pc100_pdma1_pdata = { ...@@ -143,7 +143,7 @@ static struct s3c_pl330_platdata s5pc100_pdma1_pdata = {
static struct platform_device s5pc100_device_pdma1 = { static struct platform_device s5pc100_device_pdma1 = {
.name = "s3c-pl330", .name = "s3c-pl330",
.id = 2, .id = 1,
.num_resources = ARRAY_SIZE(s5pc100_pdma1_resource), .num_resources = ARRAY_SIZE(s5pc100_pdma1_resource),
.resource = s5pc100_pdma1_resource, .resource = s5pc100_pdma1_resource,
.dev = { .dev = {
......
...@@ -82,7 +82,7 @@ static struct s3c_pl330_platdata s5pv210_pdma0_pdata = { ...@@ -82,7 +82,7 @@ static struct s3c_pl330_platdata s5pv210_pdma0_pdata = {
static struct platform_device s5pv210_device_pdma0 = { static struct platform_device s5pv210_device_pdma0 = {
.name = "s3c-pl330", .name = "s3c-pl330",
.id = 1, .id = 0,
.num_resources = ARRAY_SIZE(s5pv210_pdma0_resource), .num_resources = ARRAY_SIZE(s5pv210_pdma0_resource),
.resource = s5pv210_pdma0_resource, .resource = s5pv210_pdma0_resource,
.dev = { .dev = {
...@@ -144,7 +144,7 @@ static struct s3c_pl330_platdata s5pv210_pdma1_pdata = { ...@@ -144,7 +144,7 @@ static struct s3c_pl330_platdata s5pv210_pdma1_pdata = {
static struct platform_device s5pv210_device_pdma1 = { static struct platform_device s5pv210_device_pdma1 = {
.name = "s3c-pl330", .name = "s3c-pl330",
.id = 2, .id = 1,
.num_resources = ARRAY_SIZE(s5pv210_pdma1_resource), .num_resources = ARRAY_SIZE(s5pv210_pdma1_resource),
.resource = s5pv210_pdma1_resource, .resource = s5pv210_pdma1_resource,
.dev = { .dev = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment