diff options
author | Jiang Qiu <qiujiang@huawei.com> | 2016-04-28 17:32:02 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-29 11:23:53 +0200 |
commit | 4ba8cfa79f44a9489b1d562430cb70fb53200adb (patch) | |
tree | 35ac7217c810da6870f7e3083f253a816057155b /include/linux/platform_data/gpio-dwapb.h | |
parent | e81591815de05572ed28cbdca631d4d97f0bd059 (diff) | |
download | linux-4ba8cfa79f44a9489b1d562430cb70fb53200adb.tar.gz linux-4ba8cfa79f44a9489b1d562430cb70fb53200adb.tar.bz2 linux-4ba8cfa79f44a9489b1d562430cb70fb53200adb.zip |
gpio: dwapb: convert device node to fwnode
This patch converts device node to fwnode for dwapb driver, so
as to provide a unified fwnode for DT and ACPI bindings.
Tested-by: Alan Tull <delicious.quinoa@gmail.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jiang Qiu <qiujiang@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data/gpio-dwapb.h')
-rw-r--r-- | include/linux/platform_data/gpio-dwapb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio-dwapb.h b/include/linux/platform_data/gpio-dwapb.h index 955b5790d24a..2dc7f4a8ab09 100644 --- a/include/linux/platform_data/gpio-dwapb.h +++ b/include/linux/platform_data/gpio-dwapb.h @@ -15,7 +15,7 @@ #define GPIO_DW_APB_H struct dwapb_port_property { - struct device_node *node; + struct fwnode_handle *fwnode; unsigned int idx; unsigned int ngpio; unsigned int gpio_base; |