Merge remote-tracking branch 'mkp-scsi/4.5/scsi-queue' into misc
[cascardo/linux.git] / drivers / pinctrl / qcom / pinctrl-ssbi-gpio.c
index d809c9e..19a3c3b 100644 (file)
@@ -672,7 +672,7 @@ static int pm8xxx_gpio_probe(struct platform_device *pdev)
                return -ENOMEM;
 
        pctrl->dev = &pdev->dev;
-       pctrl->npins = (unsigned)of_device_get_match_data(&pdev->dev);
+       pctrl->npins = (unsigned long)of_device_get_match_data(&pdev->dev);
 
        pctrl->regmap = dev_get_regmap(pdev->dev.parent, NULL);
        if (!pctrl->regmap) {