mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:36:56 +07:00
09be755395
The long term fix is to switch boards to use drivers/gpio/pcf857x.c. Signed-off-by: Tony Lindgren <tony@atomide.com>
36 lines
925 B
C
36 lines
925 B
C
/*
|
|
* linux/include/asm-arm/arch-omap/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 */
|