Commit 4668a6f9 authored by Dirk Behme's avatar Dirk Behme Committed by Kevin Hilman

ARM: DAVINCI: Export davinci_mux_peripheral() for module usage

To: davinci-linux-open-source@linux.davincidsp.com
Date: Sat, 12 Jan 2008 07:39:33 +0100

This patch exports davinci_mux_peripheral() to be used in
modules. Needed to compile NAND driver as module. Thanks to Kevin for
the hint!
Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent 5e859dd5
......@@ -9,6 +9,7 @@
* or implied.
*/
#include <linux/io.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <asm/hardware.h>
......@@ -39,3 +40,4 @@ void davinci_mux_peripheral(unsigned int mux, unsigned int enable)
davinci_writel(pinmux, DAVINCI_SYSTEM_MODULE_BASE + muxreg);
spin_unlock(&mux_lock);
}
EXPORT_SYMBOL(davinci_mux_peripheral);
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