소스 검색

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