diff options
author | Andres Salomon <dilinger@queued.net> | 2010-11-30 16:54:39 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-14 06:37:43 -0500 |
commit | 816b4580cef948c7d9ac9e3e63fb1b663012f057 (patch) | |
tree | 54e22bc2e21b87b1c81f5ece4027d8df90b4e638 /drivers | |
parent | d450f19eea0c3f64d60dc37655bae03b2455e5bb (diff) |
mfd: Fix cs5535 warning on x86-64
ARRAY_SIZE() returns size_t; use %zu instead of %d so that we don't
get warnings on x86-64.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/cs5535-mfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/cs5535-mfd.c b/drivers/mfd/cs5535-mfd.c index b141ca7c777c..59ca6f151e78 100644 --- a/drivers/mfd/cs5535-mfd.c +++ b/drivers/mfd/cs5535-mfd.c | |||
@@ -103,7 +103,7 @@ static int __devinit cs5535_mfd_probe(struct pci_dev *pdev, | |||
103 | goto err_disable; | 103 | goto err_disable; |
104 | } | 104 | } |
105 | 105 | ||
106 | dev_info(&pdev->dev, "%d devices registered.\n", | 106 | dev_info(&pdev->dev, "%zu devices registered.\n", |
107 | ARRAY_SIZE(cs5535_mfd_cells)); | 107 | ARRAY_SIZE(cs5535_mfd_cells)); |
108 | 108 | ||
109 | return 0; | 109 | return 0; |