diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-02-28 21:52:32 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-03-08 23:57:51 +0100 |
commit | 12c383238d675f41e8ecdb8278bfa30c9f2781d4 (patch) | |
tree | 3529cd659d774efb40fa2e2b4679642f69303ebf /drivers/i2c/busses/i2c-eg20t.c | |
parent | i2c-omap: Program I2C_WE on OMAP4 to enable i2c wakeup (diff) | |
download | linux-12c383238d675f41e8ecdb8278bfa30c9f2781d4.tar.xz linux-12c383238d675f41e8ecdb8278bfa30c9f2781d4.zip |
i2c-ocores: Fix pointer type mismatch error
ocores_i2c_of_probe needs to use a const __be32 type for handing
device tree property values. This patch fixed the following build
warning:
CC drivers/i2c/busses/i2c-ocores.o
drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe':
drivers/i2c/busses/i2c-ocores.c:254: warning: assignment discards qualifiers from pointer target type
drivers/i2c/busses/i2c-ocores.c:261: warning: assignment discards qualifiers from pointer target type
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: linux-i2c@vger.kernel.org
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-eg20t.c')
0 files changed, 0 insertions, 0 deletions