From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Thu, 5 Jan 2012 14:54:25 +0000 Subject: [PATCH v2 1/2] DMA: PL330: Merge PL330 driver into drivers/dma/ In-Reply-To: <1323654668-32504-1-git-send-email-boojin.kim@samsung.com> References: <1323654668-32504-1-git-send-email-boojin.kim@samsung.com> Message-ID: <20120105145425.GW11810@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Dec 12, 2011 at 10:51:08AM +0900, Boojin Kim wrote: > Currently there were two part of DMAC PL330 driver for > support old styled s3c-pl330 which has been merged into > drivers/dma/pl330.c driver. Actually, there is no reason > to separate them now. > > Basically this patch merges arch/arm/common/pl330.c into > drivers/dma/pl330.c driver and removes useless exported > symbol, externed function and so on. > > The newer pl330 driver tested on SMDKV310 and SMDK4212 boards > > Cc: Jassi Brar > Cc: Russell King > Cc: Vinod Koul > Acked-by: Linus Walleij > Signed-off-by: Boojin Kim > Signed-off-by: Kukjin Kim > > Change since V1: > Modify the order of definitions/declarations according to linux coding rules. > --- > arch/arm/common/Kconfig | 3 - > arch/arm/common/Makefile | 1 - > arch/arm/common/pl330.c | 1971 --------------------------------- > arch/arm/include/asm/hardware/pl330.h | 333 +++--- > drivers/dma/Kconfig | 1 - > drivers/dma/pl330.c | 1892 +++++++++++++++++++++++++++++++ > 6 files changed, 2074 insertions(+), 2127 deletions(-) > delete mode 100644 arch/arm/common/pl330.c Now that the PL330 code is entirely out of arch/arm, the header should no longer be in asm/hardware/pl330.h. Definitions private to the driver should be in drivers/dma/pl330.c or a header file co-located. Other definitions for interfaces to that driver (eg, platform data) should be in include/linux/amba. That can be the subject of a follow-up patch if this is already finalized.