mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sparc: Move SBUS DMA attribute interfaces out of asm/sbus.h
This is in preparation for the subsequent asm/sbus.h removal. Also, make these routines take a "struct device" or no arguments, as appropriate. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
738f2b7b81
commit
63237eeb5a
12 changed files with 54 additions and 26 deletions
|
|
@ -819,8 +819,8 @@ fore200e_sba_map(struct fore200e* fore200e)
|
|||
/* get the supported DVMA burst sizes */
|
||||
bursts = prom_getintdefault(sbus_dev->bus->prom_node, "burst-sizes", 0x00);
|
||||
|
||||
if (sbus_can_dma_64bit(sbus_dev))
|
||||
sbus_set_sbus64(sbus_dev, bursts);
|
||||
if (sbus_can_dma_64bit())
|
||||
sbus_set_sbus64(&sbus_dev->ofdev.dev, bursts);
|
||||
|
||||
fore200e->state = FORE200E_STATE_MAP;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue