Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / arm / mach-shmobile / sh-gpio.h
blob2c4141413db92ebbd0e39f43fef95a53ca6a034f
1 /*
2 * Generic GPIO API and pinmux table support
4 * Copyright (c) 2008 Magnus Damm
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
10 #ifndef __ASM_ARCH_GPIO_H
11 #define __ASM_ARCH_GPIO_H
13 #include <linux/kernel.h>
14 #include <linux/errno.h>
15 #include <linux/io.h>
18 * FIXME !!
20 * current gpio frame work doesn't have
21 * the method to control only pull up/down/free.
22 * this function should be replaced by correct gpio function
24 static inline void __init gpio_direction_none(void __iomem * addr)
26 __raw_writeb(0x00, addr);
29 #endif /* __ASM_ARCH_GPIO_H */