From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 12 May 2014 15:17:21 -0700 Subject: [PATCH 1/2] dmaengine: omap: hide filter_fn for built-in drivers In-Reply-To: <1399560990-1402858-1-git-send-email-arnd@arndb.de> References: <1399560433-1402630-1-git-send-email-arnd@arndb.de> <1399560990-1402858-1-git-send-email-arnd@arndb.de> Message-ID: <20140512221720.GH5668@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Arnd Bergmann [140508 07:57]: > It is not possible to reference the omap_dma_filter_fn filter > function from a built-in driver if the dmaengine driver itself > is a loadable module, which is a valid configuration otherwise. > > This provides only the dummy alternative if the function > is referenced by a built-in driver to allow a successful > build. The filter function is only required by ATAGS based > platforms, which will continue to be broken after this change > for the bogus configuration. When booting from DT, with the > dma channels correctly listed there, it will work fine. > > Signed-off-by: Arnd Bergmann Acked-by: Tony Lindgren > Cc: Russell King > Cc: Vinod Koul > Cc: dmaengine at vger.kernel.org