mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[octeon] move i2c driver to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32855 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -37,3 +37,19 @@ define KernelPackage/usb-octeon/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,usb-octeon))
|
||||
|
||||
I2C_OCTEON_MODULES:=\
|
||||
CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon
|
||||
|
||||
define KernelPackage/octeon-i2c
|
||||
$(call i2c_defaults,$(I2C_OCTEON_MODULES),59)
|
||||
TITLE:=I2C master driver for Cavium Octeon
|
||||
DEPENDS:=@TARGET_octeon +kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/octeon-i2c/description
|
||||
Kernel module to use the I2C master driver on Cavium Octeon
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,octeon-i2c))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user