layerscape: fix pfe module autoload issue
[openwrt/openwrt.git] / target / linux / layerscape / modules.mk
1 #
2 # Copyright (C) Jiang Yutang <jiangyutang1978@gmail.com>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/ppfe
9 SUBMENU:=$(NETWORK_DEVICES_MENU)
10 TITLE:=Freescale PPFE Driver support
11 DEPENDS:=@TARGET_layerscape
12 KCONFIG:=CONFIG_FSL_PPFE CONFIG_FSL_PPFE_UTIL_DISABLED
13 FILES:=$(LINUX_DIR)/drivers/staging/fsl_ppfe/pfe.ko
14 AUTOLOAD:=$(call AutoLoad,35,pfe)
15 endef
16
17 define KernelPackage/ppfe/description
18 Kernel modules for Freescale PPFE Driver support.
19 endef
20
21 $(eval $(call KernelPackage,ppfe))