mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
d450f19eea
commit
816b4580ce
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ static int __devinit cs5535_mfd_probe(struct pci_dev *pdev,
|
|||
goto err_disable;
|
||||
}
|
||||
|
||||
dev_info(&pdev->dev, "%d devices registered.\n",
|
||||
dev_info(&pdev->dev, "%zu devices registered.\n",
|
||||
ARRAY_SIZE(cs5535_mfd_cells));
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue