From: Yangbo Lu Date: Mon, 6 Nov 2017 09:18:48 +0000 (+0800) Subject: layerscape: fix pfe module autoload issue X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff56bb0dfb2ccdfc82ade6f80ad201268717d9fe;p=openwrt%2Fstaging%2Fwigyori.git layerscape: fix pfe module autoload issue There was a typo in module.mk for pfe module autoload. This patch is to fix this and remove useless rc.local which was for loading pfe module. Signed-off-by: Yangbo Lu --- diff --git a/target/linux/layerscape/base-files/etc/rc.local b/target/linux/layerscape/base-files/etc/rc.local deleted file mode 100644 index 297c3a83db..0000000000 --- a/target/linux/layerscape/base-files/etc/rc.local +++ /dev/null @@ -1,4 +0,0 @@ -# Put your custom commands here that should be executed once -# the system init finished. By default this file does nothing. -modprobe pfe.ko -exit 0 diff --git a/target/linux/layerscape/modules.mk b/target/linux/layerscape/modules.mk index 5fef373ff5..7a368a0d29 100644 --- a/target/linux/layerscape/modules.mk +++ b/target/linux/layerscape/modules.mk @@ -11,7 +11,7 @@ define KernelPackage/ppfe DEPENDS:=@TARGET_layerscape KCONFIG:=CONFIG_FSL_PPFE CONFIG_FSL_PPFE_UTIL_DISABLED FILES:=$(LINUX_DIR)/drivers/staging/fsl_ppfe/pfe.ko - AUTOLOAD:=$(call AutoLoad,35,ppfe) + AUTOLOAD:=$(call AutoLoad,35,pfe) endef define KernelPackage/ppfe/description