From: stigge@antcom.de (Roland Stigge) Date: Thu, 16 Aug 2012 10:46:48 +0200 Subject: [PATCH 1/2] mtd: lpc32xx_slc: Adjust to pl08x DMA interface changes In-Reply-To: <1345027069.3393.124.camel@sauron.fi.intel.com> References: <1342095778-13403-1-git-send-email-stigge@antcom.de> <1342095778-13403-2-git-send-email-stigge@antcom.de> <1345027069.3393.124.camel@sauron.fi.intel.com> Message-ID: <502CB378.1020708@antcom.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 08/15/2012 12:37 PM, Artem Bityutskiy wrote: > On Thu, 2012-07-12 at 14:22 +0200, Roland Stigge wrote: >> This patch adjusts the LPC32xx SLC NAND driver to the new pl08x >> DMA interface, fixing the compile error resulting from changed >> pl08x structures. >> >> Signed-off-by: Roland Stigge > > This patch breaks compilation: > > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] > undefined! > > Please, send a fix. The defconfig I used is attached. Thanks for the note. The issue happens on compiling lpc32xx_slc and lpc32xx_mlc as a module. Caused by pl08x_filter_id not being exported. Looking at other dma drivers, they have an EXPORT_SYMBOL() for this, see also drivers/dma/coh901318.c drivers/dma/sirf-dma.c Will post a respective adjustment for drivers/dma/amba-pl08x.c separately. Roland