aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2021-12-16 12:50:59 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-08 00:49:59 +0100
commit5ee1e045174bad1b7f2754bb022346acc60220f5 (patch)
treed95e741e4cee6bf998213a778f06bd49f8bc65d0 /package/kernel
parenta54b406ccb7b29a86e43e5535b86efede52157e6 (diff)
downloadupstream-5ee1e045174bad1b7f2754bb022346acc60220f5.tar.gz
upstream-5ee1e045174bad1b7f2754bb022346acc60220f5.tar.bz2
upstream-5ee1e045174bad1b7f2754bb022346acc60220f5.zip
ltq-vdsl: move to the default device name /dev/dsl_cpe_api/0
This makes patching it for ltq-vdsl-app unnecessary and paves the way for VRX518 support. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch b/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch
index edacd5f6b8..7670fe6a00 100644
--- a/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch
+++ b/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch
@@ -82,9 +82,9 @@
DSL_DRV_DevNodeInit();
-+ dsl_class = class_create(THIS_MODULE, "dsl_cpe_api0");
++ dsl_class = class_create(THIS_MODULE, DRV_DSL_CPE_API_DEV_NAME);
+ dsl_devt = MKDEV(DRV_DSL_CPE_API_DEV_MAJOR, 0);
-+ device_create(dsl_class, NULL, dsl_devt, NULL, "dsl_cpe_api0");
++ device_create(dsl_class, NULL, dsl_devt, NULL, "dsl_cpe_api/0");
+
return 0;
}