Commit 77d511ed authored by Joe Perches's avatar Joe Perches Committed by Ingo Molnar

include/asm-x86/mca_dma.h: checkpatch cleanups - formatting only

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 933a4415
......@@ -63,7 +63,7 @@
* IRQ context.
*/
static __inline__ void mca_enable_dma(unsigned int dmanr)
static inline void mca_enable_dma(unsigned int dmanr)
{
outb(MCA_DMA_FN_RESET_MASK | dmanr, MCA_DMA_REG_FN);
}
......@@ -76,7 +76,7 @@ static __inline__ void mca_enable_dma(unsigned int dmanr)
* IRQ context.
*/
static __inline__ void mca_disable_dma(unsigned int dmanr)
static inline void mca_disable_dma(unsigned int dmanr)
{
outb(MCA_DMA_FN_MASK | dmanr, MCA_DMA_REG_FN);
}
......@@ -90,7 +90,7 @@ static __inline__ void mca_disable_dma(unsigned int dmanr)
* limitation (16Mb).
*/
static __inline__ void mca_set_dma_addr(unsigned int dmanr, unsigned int a)
static inline void mca_set_dma_addr(unsigned int dmanr, unsigned int a)
{
outb(MCA_DMA_FN_SET_ADDR | dmanr, MCA_DMA_REG_FN);
outb(a & 0xff, MCA_DMA_REG_EXE);
......@@ -106,7 +106,7 @@ static __inline__ void mca_set_dma_addr(unsigned int dmanr, unsigned int a)
* limitation (16Mb). The return is a bus address.
*/
static __inline__ unsigned int mca_get_dma_addr(unsigned int dmanr)
static inline unsigned int mca_get_dma_addr(unsigned int dmanr)
{
unsigned int addr;
......@@ -127,7 +127,7 @@ static __inline__ unsigned int mca_get_dma_addr(unsigned int dmanr)
* Setting a count of zero will not do what you expect.
*/
static __inline__ void mca_set_dma_count(unsigned int dmanr, unsigned int count)
static inline void mca_set_dma_count(unsigned int dmanr, unsigned int count)
{
count--; /* transfers one more than count -- correct for this */
......@@ -144,7 +144,7 @@ static __inline__ void mca_set_dma_count(unsigned int dmanr, unsigned int count)
* on this DMA channel.
*/
static __inline__ unsigned int mca_get_dma_residue(unsigned int dmanr)
static inline unsigned int mca_get_dma_residue(unsigned int dmanr)
{
unsigned short count;
......@@ -164,7 +164,7 @@ static __inline__ unsigned int mca_get_dma_residue(unsigned int dmanr)
* with an I/O port target.
*/
static __inline__ void mca_set_dma_io(unsigned int dmanr, unsigned int io_addr)
static inline void mca_set_dma_io(unsigned int dmanr, unsigned int io_addr)
{
/*
* DMA from a port address -- set the io address
......@@ -192,7 +192,7 @@ static __inline__ void mca_set_dma_io(unsigned int dmanr, unsigned int io_addr)
* %MCA_DMA_MODE_16 to do 16bit transfers.
*/
static __inline__ void mca_set_dma_mode(unsigned int dmanr, unsigned int mode)
static inline void mca_set_dma_mode(unsigned int dmanr, unsigned int mode)
{
outb(MCA_DMA_FN_SET_MODE | dmanr, MCA_DMA_REG_FN);
outb(mode, MCA_DMA_REG_EXE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment