浏览代码

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 <[email protected]>
Yangbo Lu 8 年之前
父节点
当前提交
ff56bb0dfb
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 0 4
      target/linux/layerscape/base-files/etc/rc.local
  2. 1 1
      target/linux/layerscape/modules.mk

+ 0 - 4
target/linux/layerscape/base-files/etc/rc.local

@@ -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

+ 1 - 1
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