From 7288d91ee427f479710639ea7cd7689372b0daa9 Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Thu, 27 May 2010 09:32:13 +0300 Subject: [PATCH] --- yaml --- r: 207957 b: refs/heads/master c: 6e1c3b467ffd9d6eb725dda544f6fd10e471ea71 h: refs/heads/master i: 207955: 85845bf057fefdebbf02aff46c4ac8a7ac9ea1eb v: v3 --- [refs] | 2 +- trunk/include/linux/usb/otg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 16428993078b..ac70b8ba3d68 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cd62aced31dee9a9a8e63da7bd564911891b3665 +refs/heads/master: 6e1c3b467ffd9d6eb725dda544f6fd10e471ea71 diff --git a/trunk/include/linux/usb/otg.h b/trunk/include/linux/usb/otg.h index f8302d036a76..54b2c5e48b9d 100644 --- a/trunk/include/linux/usb/otg.h +++ b/trunk/include/linux/usb/otg.h @@ -146,10 +146,10 @@ static inline int otg_io_read(struct otg_transceiver *otg, u32 reg) return -EINVAL; } -static inline int otg_io_write(struct otg_transceiver *otg, u32 reg, u32 val) +static inline int otg_io_write(struct otg_transceiver *otg, u32 val, u32 reg) { if (otg->io_ops && otg->io_ops->write) - return otg->io_ops->write(otg, reg, val); + return otg->io_ops->write(otg, val, reg); return -EINVAL; }