blackfin arch: fix some coding style in include asm-blackin header files
PATCH 1/1 blackfin arch: fix some coding style in include asm-blackin header files
Signed-off-by Bryan Wu <[email protected]>
--- include/asm-blackfin/dma-mapping.h | 11 ++++++----- include/asm-blackfin/gpio.h | 2 -- include/asm-blackfin/mach-bf533/anomaly.h | 1 - include/asm-blackfin/mach-bf533/blackfin.h | 1 - include/asm-blackfin/mach-bf533/cdefBF532.h | 1 - include/asm-blackfin/mach-bf533/defBF532.h | 3 --- include/asm-blackfin/mach-bf533/dma.h | 2 -- include/asm-blackfin/mach-bf533/irq.h | 1 - include/asm-blackfin/mach-bf537/mem_map.h | 7 +------ include/asm-blackfin/mach-bf561/anomaly.h | 1 - include/asm-blackfin/mach-bf561/blackfin.h | 1 - include/asm-blackfin/mach-bf561/cdefBF561.h | 1 - include/asm-blackfin/mach-bf561/defBF561.h | 1 - include/asm-blackfin/mach-bf561/dma.h | 1 - include/asm-blackfin/mach-bf561/irq.h | 1 - include/asm-blackfin/mach-bf561/mem_map.h | 1 - include/asm-blackfin/mach-common/cdef_LPBlackfin.h | 3 --- include/asm-blackfin/mach-common/def_LPBlackfin.h | 3 --- include/asm-blackfin/mmu_context.h | 2 -- include/asm-blackfin/system.h | 3 --- include/asm-blackfin/thread_info.h | 1 - 21 files changed, 7 insertions(+), 41 deletions(-)
include/asm-blackfin/dma-mapping.h +6 -5
@@ -10,6 +10,12 @@ void dma_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle);/* +* Now for the API extensions over the pci_ one +*/ +#define dma_alloc_noncoherent (d, s, h, f) dma_alloc_coherent(d, s, h, f) +#define dma_free_noncoherent (d, s, v, h) dma_free_coherent(d, s, v, h) + +/* * Map a single buffer of the indicated size for DMA in streaming mode. * The 32-bit bus address to use is returned. *
@@ -57,9 +63,4 @@ extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,extern void dma_unmap_sg (struct device *dev,struct scatterlist *sg,int nhwentries,enum dma_data_direction direction); -/* Now for the API extensions over the pci_ one */ - -#define dma_alloc_noncoherent (d, s, h, f) dma_alloc_coherent(d, s, h, f) -#define dma_free_noncoherent (d, s, v, h) dma_free_coherent(d, s, v, h) -#endif /* _BLACKFIN_DMA_MAPPING_H */
include/asm-blackfin/gpio.h +0 -2
@@ -6,8 +6,6 @@* Created: * Description: * -* Rev: $Id: gpio.h,v 1.5 2006/12/12 12:14:56 hennerich Exp $ -* * Modified: * Copyright 2004-2006 Analog Devices Inc. *
include/asm-blackfin/mach-bf533/anomaly.h +0 -1
@@ -10,7 +10,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf533/blackfin.h +0 -1
@@ -10,7 +10,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf533/cdefBF532.h +0 -1
@@ -10,7 +10,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf533/defBF532.h +0 -3
@@ -1,7 +1,5 @@/************************************************************************ * -* $Id: defBF532.h 2717 2007-02-02 03:58:24Z vapier $ -* * This file is subject to the terms and conditions of the GNU Public * License. See the file "COPYING" in the main directory of this archive * for more details.
@@ -27,7 +25,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf533/dma.h +0 -2
@@ -1,5 +1,4 @@/***************************************************************************** -* $Id: dma.h,v 1.4 2005/10/28 04:13:50 magicyang Exp $ * * BF-533/2/1 Specific Declarations *
@@ -16,7 +15,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf533/irq.h +0 -1
@@ -10,7 +10,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf537/mem_map.h +1 -6
@@ -1,16 +1,11 @@/* -* Memory MAP -* Common header file for blackfin BF537/6/4 of processors. -* -*/ -/* * file: include/asm-blackfin/mach-bf537/mem_map.h * based on: * author: * * created: * description: -* Memory MAP +* Memory MAP Common header file for blackfin BF537/6/4 of processors. * rev: * * modified:
include/asm-blackfin/mach-bf561/anomaly.h +0 -1
@@ -11,7 +11,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf561/blackfin.h +0 -1
@@ -10,7 +10,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf561/cdefBF561.h +0 -1
@@ -10,7 +10,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf561/defBF561.h +0 -1
@@ -11,7 +11,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf561/dma.h +0 -1
@@ -1,5 +1,4 @@/***************************************************************************** -* $Id: dma.h,v 1.1 2005/11/14 07:46:00 bvermeul Exp $ * * BF-533/2/1 Specific Declarations *
include/asm-blackfin/mach-bf561/irq.h +0 -1
@@ -11,7 +11,6 @@* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-bf561/mem_map.h +0 -1
@@ -1,7 +1,6 @@/* * Memory MAP * Common header file for blackfin BF561 of processors. -* */ #ifndef _MEM_MAP_561_H_
include/asm-blackfin/mach-common/cdef_LPBlackfin.h +0 -3
@@ -6,11 +6,8 @@* Created: ? * Description: * -* Rev: $Id: cdef_LPBlackfin.h,v 1.8 2006/06/17 20:40:47 rgetz Exp $ -* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mach-common/def_LPBlackfin.h +0 -3
@@ -6,11 +6,8 @@* Created: ? * Description: * -* Rev: $Id: def_LPBlackfin.h,v 1.12 2006/08/30 21:57:25 vapier Exp $ -* * Modified: * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/mmu_context.h +0 -2
@@ -6,8 +6,6 @@* Created: * Description: * -* Rev: $Id: mmu_context.h,v 1.9 2006/08/09 20:31:16 vapier Exp $ -* * Modified: * Copyright 2004-2006 Analog Devices Inc. *
include/asm-blackfin/system.h +0 -3
@@ -9,13 +9,10 @@* Created: 25Jan2001 - Tony Kou * Description: system.h include file * -* Rev: $Id: system.h,v 1.22 2006/09/22 22:20:21 rgetz Exp $ -* * Modified: 22Sep2006 - Robin Getz * - move include blackfin.h down, so I can get access to * irq functions in other include files. * -* * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify
include/asm-blackfin/thread_info.h +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2004-2005 Analog Devices Inc. * Created: Tue Sep 21 2004 * Description: Blackfin low-level thread information -* Rev: $Id: thread_info.h,v 1.8 2005/10/28 04:13:49 magicyang Exp $ * Modified: * Bugs: Enter bugs at http://blackfin.uclinux.org/ *
Signature · 1 line
1.5.0.5