Commit a4d5247310c993b6b30f1686be12ddacfc41142a

Authored by Shimoda, Yoshihiro
Committed by Paul Mundt
1 parent 7a73c81ec3

sh: add a resource name for shdma

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

Showing 6 changed files with 12 additions and 7 deletions Side-by-side Diff

arch/sh/kernel/cpu/sh4a/setup-sh7722.c
... ... @@ -146,7 +146,7 @@
146 146 .flags = IORESOURCE_MEM,
147 147 },
148 148 {
149   - /* DMA error IRQ */
  149 + .name = "error_irq",
150 150 .start = 78,
151 151 .end = 78,
152 152 .flags = IORESOURCE_IRQ,
arch/sh/kernel/cpu/sh4a/setup-sh7724.c
... ... @@ -214,7 +214,7 @@
214 214 .flags = IORESOURCE_MEM,
215 215 },
216 216 {
217   - /* DMA error IRQ */
  217 + .name = "error_irq",
218 218 .start = 78,
219 219 .end = 78,
220 220 .flags = IORESOURCE_IRQ,
... ... @@ -248,7 +248,7 @@
248 248 .flags = IORESOURCE_MEM,
249 249 },
250 250 {
251   - /* DMA error IRQ */
  251 + .name = "error_irq",
252 252 .start = 74,
253 253 .end = 74,
254 254 .flags = IORESOURCE_IRQ,
arch/sh/kernel/cpu/sh4a/setup-sh7757.c
... ... @@ -465,6 +465,7 @@
465 465 .flags = IORESOURCE_MEM,
466 466 },
467 467 {
  468 + .name = "error_irq",
468 469 .start = 34,
469 470 .end = 34,
470 471 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
... ... @@ -486,7 +487,7 @@
486 487 .flags = IORESOURCE_MEM,
487 488 },
488 489 {
489   - /* DMA error */
  490 + .name = "error_irq",
490 491 .start = 34,
491 492 .end = 34,
492 493 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
... ... @@ -556,7 +557,7 @@
556 557 .flags = IORESOURCE_MEM,
557 558 },
558 559 {
559   - /* DMA error */
  560 + .name = "error_irq",
560 561 .start = 323,
561 562 .end = 323,
562 563 .flags = IORESOURCE_IRQ,
... ... @@ -590,7 +591,7 @@
590 591 .flags = IORESOURCE_MEM,
591 592 },
592 593 {
593   - /* DMA error */
  594 + .name = "error_irq",
594 595 .start = 324,
595 596 .end = 324,
596 597 .flags = IORESOURCE_IRQ,
arch/sh/kernel/cpu/sh4a/setup-sh7780.c
... ... @@ -322,6 +322,7 @@
322 322 },
323 323 {
324 324 /* Real DMA error IRQ is 38, and channel IRQs are 34-37, 44-45 */
  325 + .name = "error_irq",
325 326 .start = 34,
326 327 .end = 34,
327 328 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
... ... @@ -338,6 +339,7 @@
338 339 /* DMAC1 has no DMARS */
339 340 {
340 341 /* Real DMA error IRQ is 38, and channel IRQs are 46-47, 92-95 */
  342 + .name = "error_irq",
341 343 .start = 46,
342 344 .end = 46,
343 345 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
arch/sh/kernel/cpu/sh4a/setup-sh7785.c
... ... @@ -376,6 +376,7 @@
376 376 },
377 377 {
378 378 /* Real DMA error IRQ is 39, and channel IRQs are 33-38 */
  379 + .name = "error_irq",
379 380 .start = 33,
380 381 .end = 33,
381 382 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
... ... @@ -392,6 +393,7 @@
392 393 /* DMAC1 has no DMARS */
393 394 {
394 395 /* Real DMA error IRQ is 58, and channel IRQs are 52-57 */
  396 + .name = "error_irq",
395 397 .start = 52,
396 398 .end = 52,
397 399 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
arch/sh/kernel/cpu/sh4a/setup-sh7786.c
... ... @@ -518,7 +518,7 @@
518 518 .end = 0xfe00900b,
519 519 .flags = IORESOURCE_MEM,
520 520 }, {
521   - /* DMA error IRQ */
  521 + .name = "error_irq",
522 522 .start = evt2irq(0x5c0),
523 523 .end = evt2irq(0x5c0),
524 524 .flags = IORESOURCE_IRQ,