projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfc: constify nfc_phy_ops
[linux-2.6-microblaze.git]
/
drivers
/
nfc
/
pn544
/
i2c.c
diff --git
a/drivers/nfc/pn544/i2c.c
b/drivers/nfc/pn544/i2c.c
index
de59e43
..
37d26f0
100644
(file)
--- a/
drivers/nfc/pn544/i2c.c
+++ b/
drivers/nfc/pn544/i2c.c
@@
-515,7
+515,7
@@
static irqreturn_t pn544_hci_i2c_irq_thread_fn(int irq, void *phy_id)
return IRQ_HANDLED;
}
-static struct nfc_phy_ops i2c_phy_ops = {
+static
const
struct nfc_phy_ops i2c_phy_ops = {
.write = pn544_hci_i2c_write,
.enable = pn544_hci_i2c_enable,
.disable = pn544_hci_i2c_disable,