Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
2 | * linux/arch/arm/mach-shark/dma.c | ||||
3 | * | ||||
4 | * by Alexander Schulz | ||||
5 | * | ||||
6 | * derived from: | ||||
7 | * arch/arm/kernel/dma-ebsa285.c | ||||
8 | * Copyright (C) 1998 Phil Blundell | ||||
9 | */ | ||||
10 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <linux/init.h> |
12 | |||||
13 | #include <asm/dma.h> | ||||
14 | #include <asm/mach/dma.h> | ||||
15 | |||||
Russell King | 2f757f2 | 2008-12-08 16:33:30 +0000 | [diff] [blame^] | 16 | static int __init shark_dma_init(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | { |
18 | #ifdef CONFIG_ISA_DMA | ||||
Russell King | 2f757f2 | 2008-12-08 16:33:30 +0000 | [diff] [blame^] | 19 | isa_init_dma(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #endif |
Russell King | 2f757f2 | 2008-12-08 16:33:30 +0000 | [diff] [blame^] | 21 | return 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | } |
Russell King | 2f757f2 | 2008-12-08 16:33:30 +0000 | [diff] [blame^] | 23 | core_initcall(shark_dma_init); |