mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] Move valid_dma_direction() from x86_64 to generic code
As suggested by Muli Ben-Yehuda this function is moved to generic code as may be useful for all archs. [[email protected]: fix] Signed-off-by: Rolf Eike Beer <[email protected]> Cc: Muli Ben-Yehuda <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d09d7ddf30
commit
d6bd3a39f7
5 changed files with 11 additions and 11 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include <linux/mii.h>
|
||||
#include <linux/ethtool.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/pgtable.h>
|
||||
|
|
@ -37,7 +38,6 @@
|
|||
#include <asm/irq.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/dma-mapping.h>
|
||||
|
||||
#include "fec_8xx.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,11 +6,10 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/phy.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
#include <linux/fs_enet_pd.h>
|
||||
|
||||
#include <asm/dma-mapping.h>
|
||||
|
||||
#ifdef CONFIG_CPM1
|
||||
#include <asm/commproc.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue