i2c-omap: fix build for !CONFIG_SUSPEND
authorBalaji T K <balajitk@ti.com>
Tue, 22 Feb 2011 06:55:39 +0000 (11:55 +0530)
committerBen Dooks <ben-linux@fluff.org>
Wed, 23 Feb 2011 00:39:45 +0000 (00:39 +0000)
commitf72487e7a1827f5e95425b80ec4fcc4f928329e8
tree8a17c836ea249ef61ffe275953aa27eb061e6d58
parentadf6e07922255937c8bfeea777d19502b4c9a2be
i2c-omap: fix build for !CONFIG_SUSPEND

fix the build break when !CONFIG_SUSPEND

drivers/i2c/busses/i2c-omap.c:1173: error: lvalue required as unary '&' operand
make[3]: *** [drivers/i2c/busses/i2c-omap.o] Error 1
make[2]: *** [drivers/i2c/busses] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-omap.c