aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-01-16 19:55:23 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-16 20:28:21 -0500
commite78bf5e6cbe837daa6ab628a5f679548742994d3 (patch)
tree28f874c20f8a790f7f0459975af6d1d8704cdb5b /drivers/nfc
parent8a335bc631ac9c43675821580c26ebf95a3044ba (diff)
drivers/nfc/pn544.c: fix min_t warnings
Fix these: drivers/nfc/pn544.c: In function 'pn544_read': drivers/nfc/pn544.c:356: warning: comparison of distinct pointer types lacks a cast drivers/nfc/pn544.c:377: warning: comparison of distinct pointer types lacks a cast drivers/nfc/pn544.c: In function 'pn544_write': drivers/nfc/pn544.c:463: warning: comparison of distinct pointer types lacks a cast drivers/nfc/pn544.c:485: warning: comparison of distinct pointer types lacks a cast Cc: "Matti J. Aaltonen" <matti.j.aaltonen@nokia.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn544.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn544.c b/drivers/nfc/pn544.c
index 401c44b6eadb..bae647264dd6 100644
--- a/drivers/nfc/pn544.c
+++ b/drivers/nfc/pn544.c
@@ -69,7 +69,7 @@ struct pn544_info {
69 struct mutex read_mutex; /* Serialize read_irq access */ 69 struct mutex read_mutex; /* Serialize read_irq access */
70 struct mutex mutex; /* Serialize info struct access */ 70 struct mutex mutex; /* Serialize info struct access */
71 u8 *buf; 71 u8 *buf;
72 unsigned int buflen; 72 size_t buflen;
73}; 73};
74 74
75static const char reg_vdd_io[] = "Vdd_IO"; 75static const char reg_vdd_io[] = "Vdd_IO";