Skip to content

Commit 4c51ea9

Browse files
committed
pinctrl: intel: Revert "Unexport intel_pinctrl_probe()"
In order to prepare for a new coming driver export the original intel_pinctrl_probe() again. This reverts commit 0dd519e. Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 22f5770 commit 4c51ea9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

drivers/pinctrl/intel/pinctrl-intel.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,8 +1504,8 @@ static int intel_pinctrl_probe_pwm(struct intel_pinctrl *pctrl,
15041504
return PTR_ERR_OR_ZERO(pwm);
15051505
}
15061506

1507-
static int intel_pinctrl_probe(struct platform_device *pdev,
1508-
const struct intel_pinctrl_soc_data *soc_data)
1507+
int intel_pinctrl_probe(struct platform_device *pdev,
1508+
const struct intel_pinctrl_soc_data *soc_data)
15091509
{
15101510
struct device *dev = &pdev->dev;
15111511
struct intel_pinctrl *pctrl;
@@ -1623,6 +1623,7 @@ static int intel_pinctrl_probe(struct platform_device *pdev,
16231623

16241624
return 0;
16251625
}
1626+
EXPORT_SYMBOL_NS_GPL(intel_pinctrl_probe, PINCTRL_INTEL);
16261627

16271628
int intel_pinctrl_probe_by_hid(struct platform_device *pdev)
16281629
{

drivers/pinctrl/intel/pinctrl-intel.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ struct intel_pinctrl {
252252
int irq;
253253
};
254254

255+
int intel_pinctrl_probe(struct platform_device *pdev,
256+
const struct intel_pinctrl_soc_data *soc_data);
257+
255258
int intel_pinctrl_probe_by_hid(struct platform_device *pdev);
256259
int intel_pinctrl_probe_by_uid(struct platform_device *pdev);
257260

0 commit comments

Comments
 (0)