From 1d5b08ca51e5f766ebb206dfad20daa6f0d12c19 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 7 Aug 2020 16:29:23 +0200 Subject: om-watchdog: fix board name for teltonika,rut5xx The board name is equivalent to the compatible, not the device definition. Fix it. Fixes: b4588c853838 ("kernel/om-watchdog: Apply device renames from ramips") Signed-off-by: Adrian Schmutzler --- package/kernel/om-watchdog/Makefile | 2 +- package/kernel/om-watchdog/files/om-watchdog.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/kernel/om-watchdog') diff --git a/package/kernel/om-watchdog/Makefile b/package/kernel/om-watchdog/Makefile index a7e859dc8b..6f2ac372fb 100644 --- a/package/kernel/om-watchdog/Makefile +++ b/package/kernel/om-watchdog/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=om-watchdog -PKG_RELEASE:=2 +PKG_RELEASE:=3 include $(INCLUDE_DIR)/package.mk diff --git a/package/kernel/om-watchdog/files/om-watchdog.init b/package/kernel/om-watchdog/files/om-watchdog.init index 4c407dadae..12ff665837 100644 --- a/package/kernel/om-watchdog/files/om-watchdog.init +++ b/package/kernel/om-watchdog/files/om-watchdog.init @@ -47,7 +47,7 @@ get_gpio() { return 17 ;; esac - elif [ "$board" = "teltonika_rut5xx" ]; then + elif [ "$board" = "teltonika,rut5xx" ]; then # ramips return 11 else -- cgit v1.2.3