blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>utp
parent
e45eb6b960
commit
76db0fde5b
|
@ -12,7 +12,7 @@
|
|||
#include <asm/gpio.h>
|
||||
#include <asm/portmux.h>
|
||||
|
||||
#ifdef CONFIG_ADI_GPIO1
|
||||
#ifndef CONFIG_ADI_GPIO2
|
||||
#if ANOMALY_05000311 || ANOMALY_05000323
|
||||
enum {
|
||||
AWA_data = SYSCR,
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#ifdef CONFIG_ADI_GPIO1
|
||||
#ifndef CONFIG_ADI_GPIO2
|
||||
void set_gpio_dir(unsigned, unsigned short);
|
||||
void set_gpio_inen(unsigned, unsigned short);
|
||||
void set_gpio_polar(unsigned, unsigned short);
|
||||
|
|
Loading…
Reference in New Issue