mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-10 17:32:46 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
42
arch/m68k/coldfire/dma.c
Normal file
42
arch/m68k/coldfire/dma.c
Normal file
|
@ -0,0 +1,42 @@
|
|||
/***************************************************************************/
|
||||
|
||||
/*
|
||||
* dma.c -- Freescale ColdFire DMA support
|
||||
*
|
||||
* Copyright (C) 2007, Greg Ungerer (gerg@snapgear.com)
|
||||
*/
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <asm/dma.h>
|
||||
#include <asm/coldfire.h>
|
||||
#include <asm/mcfsim.h>
|
||||
#include <asm/mcfdma.h>
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
/*
|
||||
* DMA channel base address table.
|
||||
*/
|
||||
unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
|
||||
#ifdef MCFDMA_BASE0
|
||||
MCFDMA_BASE0,
|
||||
#endif
|
||||
#ifdef MCFDMA_BASE1
|
||||
MCFDMA_BASE1,
|
||||
#endif
|
||||
#ifdef MCFDMA_BASE2
|
||||
MCFDMA_BASE2,
|
||||
#endif
|
||||
#ifdef MCFDMA_BASE3
|
||||
MCFDMA_BASE3,
|
||||
#endif
|
||||
};
|
||||
EXPORT_SYMBOL(dma_base_addr);
|
||||
|
||||
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
|
||||
EXPORT_SYMBOL(dma_device_address);
|
||||
|
||||
/***************************************************************************/
|
Loading…
Add table
Add a link
Reference in a new issue