[PATCH 3/8] mci:s3c: Fix sparse warning.
Marek Belisko
marek.belisko at open-nandra.com
Thu Oct 13 16:23:09 EDT 2011
warning:
drivers/mci/s3c.c:157:18: warning: dubious bitfield without explicit `signed' or `unsigned'
Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
---
drivers/mci/s3c.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mci/s3c.c b/drivers/mci/s3c.c
index f97e13a..15defe7 100644
--- a/drivers/mci/s3c.c
+++ b/drivers/mci/s3c.c
@@ -154,7 +154,7 @@
struct s3c_mci_host {
void __iomem *base;
- int bus_width:2; /* 0 = 1 bit, 1 = 4 bit, 2 = 8 bit */
+ unsigned int bus_width:2; /* 0 = 1 bit, 1 = 4 bit, 2 = 8 bit */
unsigned clock; /* current clock in Hz */
unsigned data_size; /* data transfer in bytes */
};
--
1.7.4.1
More information about the barebox
mailing list