| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Marvell PXA2xx family pin control |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2015 Robert Jarzmik |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; version 2 of the License. |
|---|
| 9 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/bitops.h> |
|---|
| .. | .. |
|---|
| 14 | 10 | #include <linux/of.h> |
|---|
| 15 | 11 | #include <linux/of_address.h> |
|---|
| 16 | 12 | #include <linux/module.h> |
|---|
| 13 | +#include <linux/pinctrl/machine.h> |
|---|
| 17 | 14 | #include <linux/pinctrl/pinconf.h> |
|---|
| 18 | 15 | #include <linux/pinctrl/pinconf-generic.h> |
|---|
| 19 | 16 | #include <linux/pinctrl/pinmux.h> |
|---|
| .. | .. |
|---|
| 427 | 424 | return 0; |
|---|
| 428 | 425 | } |
|---|
| 429 | 426 | EXPORT_SYMBOL_GPL(pxa2xx_pinctrl_init); |
|---|
| 430 | | - |
|---|
| 431 | | -int pxa2xx_pinctrl_exit(struct platform_device *pdev) |
|---|
| 432 | | -{ |
|---|
| 433 | | - struct pxa_pinctrl *pctl = platform_get_drvdata(pdev); |
|---|
| 434 | | - |
|---|
| 435 | | - pinctrl_unregister(pctl->pctl_dev); |
|---|
| 436 | | - return 0; |
|---|
| 437 | | -} |
|---|
| 438 | | -EXPORT_SYMBOL_GPL(pxa2xx_pinctrl_exit); |
|---|
| 439 | 427 | |
|---|
| 440 | 428 | MODULE_AUTHOR("Robert Jarzmik <robert.jarzmik@free.fr>"); |
|---|
| 441 | 429 | MODULE_DESCRIPTION("Marvell PXA2xx pinctrl driver"); |
|---|