aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-02 17:02:50 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-22 03:48:54 -0400
commit3d7dc8836a0f08cbe6d8d499ddce05809b687f58 (patch)
tree8f3be0975dc5066de745e216a6a0b595ed497836 /arch/blackfin
parent41c3e3346ab8e5caf9e76395bd812fac884ad371 (diff)
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')
-rw-r--r--arch/blackfin/mach-bf533/boards/blackstamp.c4
-rw-r--r--arch/blackfin/mach-bf533/boards/ezkit.c4
-rw-r--r--arch/blackfin/mach-bf533/boards/stamp.c4
-rw-r--r--arch/blackfin/mach-bf561/boards/ezkit.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c
index 84a06f677dff..20c102285bef 100644
--- a/arch/blackfin/mach-bf533/boards/blackstamp.c
+++ b/arch/blackfin/mach-bf533/boards/blackstamp.c
@@ -368,8 +368,8 @@ static struct platform_device bfin_device_gpiokeys = {
368#include <linux/i2c-gpio.h> 368#include <linux/i2c-gpio.h>
369 369
370static struct i2c_gpio_platform_data i2c_gpio_data = { 370static struct i2c_gpio_platform_data i2c_gpio_data = {
371 .sda_pin = 8, 371 .sda_pin = GPIO_PF8,
372 .scl_pin = 9, 372 .scl_pin = GPIO_PF9,
373 .sda_is_open_drain = 0, 373 .sda_is_open_drain = 0,
374 .scl_is_open_drain = 0, 374 .scl_is_open_drain = 0,
375 .udelay = 40, 375 .udelay = 40,
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c
index 054c8e699a82..a1cb8e7c1010 100644
--- a/arch/blackfin/mach-bf533/boards/ezkit.c
+++ b/arch/blackfin/mach-bf533/boards/ezkit.c
@@ -422,8 +422,8 @@ static struct platform_device bfin_device_gpiokeys = {
422#include <linux/i2c-gpio.h> 422#include <linux/i2c-gpio.h>
423 423
424static struct i2c_gpio_platform_data i2c_gpio_data = { 424static struct i2c_gpio_platform_data i2c_gpio_data = {
425 .sda_pin = 1, 425 .sda_pin = GPIO_PF1,
426 .scl_pin = 0, 426 .scl_pin = GPIO_PF0,
427 .sda_is_open_drain = 0, 427 .sda_is_open_drain = 0,
428 .scl_is_open_drain = 0, 428 .scl_is_open_drain = 0,
429 .udelay = 40, 429 .udelay = 40,
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c
index 5af7e6cb0b10..96fcfe582890 100644
--- a/arch/blackfin/mach-bf533/boards/stamp.c
+++ b/arch/blackfin/mach-bf533/boards/stamp.c
@@ -497,8 +497,8 @@ static struct platform_device bfin_device_gpiokeys = {
497#include <linux/i2c-gpio.h> 497#include <linux/i2c-gpio.h>
498 498
499static struct i2c_gpio_platform_data i2c_gpio_data = { 499static struct i2c_gpio_platform_data i2c_gpio_data = {
500 .sda_pin = 2, 500 .sda_pin = GPIO_PF2,
501 .scl_pin = 3, 501 .scl_pin = GPIO_PF3,
502 .sda_is_open_drain = 0, 502 .sda_is_open_drain = 0,
503 .scl_is_open_drain = 0, 503 .scl_is_open_drain = 0,
504 .udelay = 40, 504 .udelay = 40,
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c
index f1e27d2c3619..ab7a487975fd 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 = {
380#include <linux/i2c-gpio.h> 380#include <linux/i2c-gpio.h>
381 381
382static struct i2c_gpio_platform_data i2c_gpio_data = { 382static struct i2c_gpio_platform_data i2c_gpio_data = {
383 .sda_pin = 1, 383 .sda_pin = GPIO_PF1,
384 .scl_pin = 0, 384 .scl_pin = GPIO_PF0,
385 .sda_is_open_drain = 0, 385 .sda_is_open_drain = 0,
386 .scl_is_open_drain = 0, 386 .scl_is_open_drain = 0,
387 .udelay = 40, 387 .udelay = 40,