From ff56bb0dfb2ccdfc82ade6f80ad201268717d9fe Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Mon, 6 Nov 2017 17:18:48 +0800 Subject: [PATCH] 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 --- target/linux/layerscape/base-files/etc/rc.local | 4 ---- target/linux/layerscape/modules.mk | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 target/linux/layerscape/base-files/etc/rc.local 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 -- 2.30.2