diff options
author | Tony Lindgren <tony@atomide.com> | 2009-04-23 11:10:40 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-04-23 11:10:40 -0700 |
commit | ba16ec7cabb3f1aa7bbcb7b9982c4402a2e8ec02 (patch) | |
tree | b7b083aaa98df9b746b1a9731d73a5dfaee47ade /arch/arm/plat-omap/include/mach/gpioexpander.h | |
parent | da1b94e6a68e1bdeb9cdda016cceb17228b37d25 (diff) | |
download | kernel_samsung_espresso10-ba16ec7cabb3f1aa7bbcb7b9982c4402a2e8ec02.zip kernel_samsung_espresso10-ba16ec7cabb3f1aa7bbcb7b9982c4402a2e8ec02.tar.gz kernel_samsung_espresso10-ba16ec7cabb3f1aa7bbcb7b9982c4402a2e8ec02.tar.bz2 |
ARM: OMAP: Remove old dead gpio expander code
This should be done with GPIO calls. Patches against the
mainline tree welcome to add the necessary working functionality
back.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/mach/gpioexpander.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/gpioexpander.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/arm/plat-omap/include/mach/gpioexpander.h b/arch/arm/plat-omap/include/mach/gpioexpander.h deleted file mode 100644 index 90444a0..0000000 --- a/arch/arm/plat-omap/include/mach/gpioexpander.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * arch/arm/plat-omap/include/mach/gpioexpander.h - * - * - * Copyright (C) 2004 Texas Instruments, Inc. - * - * This package is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - */ - -#ifndef __ASM_ARCH_OMAP_GPIOEXPANDER_H -#define __ASM_ARCH_OMAP_GPIOEXPANDER_H - -/* Function Prototypes for GPIO Expander functions */ - -#ifdef CONFIG_GPIOEXPANDER_OMAP -int read_gpio_expa(u8 *, int); -int write_gpio_expa(u8 , int); -#else -static inline int read_gpio_expa(u8 *val, int addr) -{ - return 0; -} -static inline int write_gpio_expa(u8 val, int addr) -{ - return 0; -} -#endif - -#endif /* __ASM_ARCH_OMAP_GPIOEXPANDER_H */ |