om-watchdog: fix board name for teltonika,rut5xx
The board name is equivalent to the compatible, not the device
definition. Fix it.
Fixes: b4588c8538 ("kernel/om-watchdog: Apply device renames from ramips")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=om-watchdog
|
PKG_NAME:=om-watchdog
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ get_gpio() {
|
|||||||
return 17
|
return 17
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
elif [ "$board" = "teltonika_rut5xx" ]; then
|
elif [ "$board" = "teltonika,rut5xx" ]; then
|
||||||
# ramips
|
# ramips
|
||||||
return 11
|
return 11
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user