1
0
Fork 0

blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
utp
Sonic Zhang 2013-11-18 14:12:39 +08:00
parent e45eb6b960
commit 76db0fde5b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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);