summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf561/boards/ezkit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-02 21:02:50 (GMT)
committerMike Frysinger <vapier@gentoo.org>2010-10-22 07:48:54 (GMT)
commit3d7dc8836a0f08cbe6d8d499ddce05809b687f58 (patch)
tree8f3be0975dc5066de745e216a6a0b595ed497836 /arch/blackfin/mach-bf561/boards/ezkit.c
parent41c3e3346ab8e5caf9e76395bd812fac884ad371 (diff)
downloadlinux-3d7dc8836a0f08cbe6d8d499ddce05809b687f58.tar.xz
Blackfin: i2c-gpio boards: use GPIO_PF# defines
Rather than use raw numbers for the GPIO pins, use proper GPIO defines. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/ezkit.c')
-rw-r--r--arch/blackfin/mach-bf561/boards/ezkit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c
index f1e27d2..ab7a487 100644
--- a/arch/blackfin/mach-bf561/boards/ezkit.c
+++ b/arch/blackfin/mach-bf561/boards/ezkit.c
@@ -380,8 +380,8 @@ static struct platform_device bfin_device_gpiokeys = {
#include <linux/i2c-gpio.h>
static struct i2c_gpio_platform_data i2c_gpio_data = {
- .sda_pin = 1,
- .scl_pin = 0,
+ .sda_pin = GPIO_PF1,
+ .scl_pin = GPIO_PF0,
.sda_is_open_drain = 0,
.scl_is_open_drain = 0,
.udelay = 40,