summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/i2c.h
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-08-11 09:19:22 -0700
committerNick Foster <nick@nerdnetworks.org>2010-08-16 17:29:40 -0700
commit936c5518e47f797c062c0ac5de0e5bd1452c7a0d (patch)
tree4c599aa5030c61e880ef4e8ac569e0d8a54d299e /firmware/microblaze/lib/i2c.h
parentf89f7476a1c3452511d54ec6839f574a7a37c0fe (diff)
downloaduhd-936c5518e47f797c062c0ac5de0e5bd1452c7a0d.tar.gz
uhd-936c5518e47f797c062c0ac5de0e5bd1452c7a0d.tar.bz2
uhd-936c5518e47f797c062c0ac5de0e5bd1452c7a0d.zip
Fix warnings related to const-ness and volatile-ness.
Diffstat (limited to 'firmware/microblaze/lib/i2c.h')
-rw-r--r--firmware/microblaze/lib/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/i2c.h b/firmware/microblaze/lib/i2c.h
index a991c6ac4..77129e922 100644
--- a/firmware/microblaze/lib/i2c.h
+++ b/firmware/microblaze/lib/i2c.h
@@ -38,7 +38,7 @@ bool i2c_write(unsigned char i2c_addr, const unsigned char *buf, unsigned int le
bool i2c_async_read(uint8_t addr, unsigned int len);
bool i2c_async_write(uint8_t addr, const uint8_t *buf, unsigned int len);
-bool i2c_async_data_ready(const void *);
+bool i2c_async_data_ready(void *);
//static void i2c_irq_handler(unsigned irq);
void i2c_register_callback(void (*callback)(void));