projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff7525
)
include: dt-bindings: rockchip: mark RK_FUNC defines as deprecated
author
Johan Jonker
<jbx6244@gmail.com>
Tue, 15 Oct 2019 20:58:52 +0000
(22:58 +0200)
committer
Heiko Stuebner
<heiko@sntech.de>
Wed, 16 Oct 2019 19:40:54 +0000
(21:40 +0200)
The defines RK_FUNC_1, RK_FUNC_2, RK_FUNC_3 and RK_FUNC_4
are no longer used. Mark them as "deprecated"
to prevent that someone start using them again.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link:
https://lore.kernel.org/r/20191015205852.4200-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
include/dt-bindings/pinctrl/rockchip.h
patch
|
blob
|
history
diff --git
a/include/dt-bindings/pinctrl/rockchip.h
b/include/dt-bindings/pinctrl/rockchip.h
index
dc5c1c7
..
6d6bac1
100644
(file)
--- a/
include/dt-bindings/pinctrl/rockchip.h
+++ b/
include/dt-bindings/pinctrl/rockchip.h
@@
-50,9
+50,9
@@
#define RK_PD7 31
#define RK_FUNC_GPIO 0
-#define RK_FUNC_1 1
-#define RK_FUNC_2 2
-#define RK_FUNC_3 3
-#define RK_FUNC_4 4
+#define RK_FUNC_1 1
/* deprecated */
+#define RK_FUNC_2 2
/* deprecated */
+#define RK_FUNC_3 3
/* deprecated */
+#define RK_FUNC_4 4
/* deprecated */
#endif