Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6f94f66 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

pinctrl: at91: Staticize non-exported symbols

parent a7e35b9c
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -566,7 +566,7 @@ static int at91_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector,
	return 0;
}

int at91_gpio_request_enable(struct pinctrl_dev *pctldev,
static int at91_gpio_request_enable(struct pinctrl_dev *pctldev,
				    struct pinctrl_gpio_range *range,
				    unsigned offset)
{
@@ -598,7 +598,7 @@ int at91_gpio_request_enable(struct pinctrl_dev *pctldev,
	return 0;
}

void at91_gpio_disable_free(struct pinctrl_dev *pctldev,
static void at91_gpio_disable_free(struct pinctrl_dev *pctldev,
				   struct pinctrl_gpio_range *range,
				   unsigned offset)
{
@@ -952,7 +952,7 @@ static int __devinit at91_pinctrl_probe(struct platform_device *pdev)
	return ret;
}

int __devexit at91_pinctrl_remove(struct platform_device *pdev)
static int __devexit at91_pinctrl_remove(struct platform_device *pdev)
{
	struct at91_pinctrl *info = platform_get_drvdata(pdev);

@@ -1249,9 +1249,11 @@ static int at91_gpio_irq_map(struct irq_domain *h, unsigned int virq,
	return 0;
}

int at91_gpio_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr,
static int at91_gpio_irq_domain_xlate(struct irq_domain *d,
				      struct device_node *ctrlr,
				      const u32 *intspec, unsigned int intsize,
			irq_hw_number_t *out_hwirq, unsigned int *out_type)
				      irq_hw_number_t *out_hwirq,
				      unsigned int *out_type)
{
	struct at91_gpio_chip *at91_gpio = d->host_data;
	int ret;