]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4827/1: fix two warnings in drivers/i2c/busses/i2c-pxa.c
authorHolger Schurig <h.schurig@mn-solutions.de>
Mon, 11 Feb 2008 15:51:41 +0000 (16:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Feb 2008 10:42:07 +0000 (10:42 +0000)
commitd6a7b5f84b5c15617010e06c95129fe8800e6b21
treeba6f175e85e70e2839b86fd714f687bb52d72e8e
parent59e8ce574445c5e7a65ec36f47a54803de704e96
[ARM] 4827/1: fix two warnings in drivers/i2c/busses/i2c-pxa.c

This fixes two warnings:

* unused static defined function decode_ICR() when
  compiled without CONFIG_I2C_PXA_SLAVE
* a sparse warning about a void function returning
  something

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/i2c/busses/i2c-pxa.c