]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
pinctrl: fix qcom ssbi drivers for 64-bit compilation
[karo-tx-linux.git] / drivers / pinctrl / qcom / pinctrl-ssbi-mpp.c
index 8982027de8e8b528f026f38d58ccdf692901635c..b868ef1766a0910e50dbfe43b80e650cea19739f 100644 (file)
@@ -763,7 +763,7 @@ static int pm8xxx_mpp_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) {