aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/gpio/mt6797/6797_gpio.h
diff options
context:
space:
mode:
authorShangbing Hu <shangbing.hu@mediatek.com>2016-07-12 22:16:55 +0800
committerShangbing Hu <shangbing.hu@mediatek.com>2016-07-12 22:16:55 +0800
commitb62760d5e218ba7364d613883a2345c1df8a0ada (patch)
tree39ff78debc69717e453de77213e9eef69e6be984 /drivers/misc/mediatek/gpio/mt6797/6797_gpio.h
parent158d4a5ff2757386d0f04ce1b511e715f41e3d1b (diff)
[ALPS02371646] GPIO:add an API that can dump gpio regs
[Detail] need an api that can dump gpio regs [Solution] add an API that can dump gpio regs [Feature] Others MTK-Commit-Id: 2662f103909b4944a831290a83be1617a560c1d3 Change-Id: I1eb73629b104fed04ed87e2c19e97ab454f5fb1b Signed-off-by: Shangbing Hu <shangbing.hu@mediatek.com> CR-Id: ALPS02371646
Diffstat (limited to 'drivers/misc/mediatek/gpio/mt6797/6797_gpio.h')
-rw-r--r--drivers/misc/mediatek/gpio/mt6797/6797_gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mediatek/gpio/mt6797/6797_gpio.h b/drivers/misc/mediatek/gpio/mt6797/6797_gpio.h
index 44e211f73aca..beef62bb51f9 100644
--- a/drivers/misc/mediatek/gpio/mt6797/6797_gpio.h
+++ b/drivers/misc/mediatek/gpio/mt6797/6797_gpio.h
@@ -5,7 +5,7 @@
#include <linux/slab.h>
#include <linux/device.h>
-
+extern void gpio_dump_regs(void);
extern ssize_t mt_gpio_show_pin(struct device *dev, struct device_attribute *attr, char *buf);
extern ssize_t mt_gpio_store_pin(struct device *dev, struct device_attribute *attr, const char *buf, size_t count);
struct device_node *get_gpio_np(void);