author: Gustavo A. R. Silva <gustavo@embeddedor.com> 2018-08-04 19:04:53 -0500
committer: Kalle Valo <kvalo@codeaurora.org> 2018-08-09 18:15:46 +0300
commit: c7743c428111912fffceb38b860024f7e33b3e3c
parent: ad2e6d23bdadd7db7086c578f3c77f244d405b3b
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/ssb/driver_gige.c b/drivers/ssb/driver_gige.c
index e9734051e3c4..ebee6b0e3c34 100644
--- a/drivers/ssb/driver_gige.c
+++ b/drivers/ssb/driver_gige.c
@@ -242,7 +242,7 @@ static int ssb_gige_probe(struct ssb_device *sdev,
bool pdev_is_ssb_gige_core(struct pci_dev *pdev)
{
if (!pdev->resource[0].name)
- return 0;
+ return false;
return (strcmp(pdev->resource[0].name, SSB_GIGE_MEM_RES_NAME) == 0);
}
EXPORT_SYMBOL(pdev_is_ssb_gige_core);