diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-28 04:01:57 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 13:13:10 +0400 |
commit | 334ae614772b1147435dce9be3911f9040dff0d9 (patch) | |
tree | a443e687646ab25744b20e43963f728870122e97 /drivers/sbus/sbus.c | |
parent | 7f06a3b2c162573c924f425053227a52b4bd7cb1 (diff) | |
download | linux-334ae614772b1147435dce9be3911f9040dff0d9.tar.xz |
sparc: Kill SBUS DVMA layer.
This thing was completely pointless.
Just find the OF device in the parent of drivers that want to program
this device, and map the DMA regs inside such drivers too.
This also moves the dummy claim_dma_lock() and release_dma_lock()
implementation to floppy_32.h, which makes it handle this issue
just like floppy_64.h does.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/sbus.c')
-rw-r--r-- | drivers/sbus/sbus.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/sbus/sbus.c b/drivers/sbus/sbus.c index 53e5e7bf545c..69491625d869 100644 --- a/drivers/sbus/sbus.c +++ b/drivers/sbus/sbus.c @@ -285,8 +285,6 @@ static void __init build_one_sbus(struct device_node *dp, int num_sbus) } sbus_fixup_all_regs(sbus->devices); - - dvma_init(sbus); } static int __init sbus_init(void) |