forked from Minki/linux
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>
This commit is contained in:
parent
d450f19eea
commit
816b4580ce
@ -103,7 +103,7 @@ static int __devinit cs5535_mfd_probe(struct pci_dev *pdev,
|
|||||||
goto err_disable;
|
goto err_disable;
|
||||||
}
|
}
|
||||||
|
|
||||||
dev_info(&pdev->dev, "%d devices registered.\n",
|
dev_info(&pdev->dev, "%zu devices registered.\n",
|
||||||
ARRAY_SIZE(cs5535_mfd_cells));
|
ARRAY_SIZE(cs5535_mfd_cells));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user