Ticket #12259: fix-i2c-algo-bit.patch

File fix-i2c-algo-bit.patch, 1.3 KB (added by Simone Caronni <negativo17@…>, 5 years ago)
  • package/kernel/modules/i2c.mk

    diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
    index d0ebfcc..82943ce 100644
    a b I2C_ALGOBIT_MODULES:= \ 
    4343define KernelPackage/i2c-algo-bit 
    4444  $(call i2c_defaults,$(I2C_ALGOBIT_MODULES),55) 
    4545  TITLE:=I2C bit-banging interfaces 
    46   DEPENDS:=kmod-i2c-core 
     46  DEPENDS:=kmod-i2c-core @!TARGET_x86 
    4747endef 
    4848 
    4949define KernelPackage/i2c-algo-bit/description 
  • target/linux/x86/modules.mk

    diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
    index dc559aa..6e78a47 100644
    a b I2C_SCX200_MODULES:=\ 
    252252define KernelPackage/i2c-scx200 
    253253  $(call i2c_defaults,$(I2C_SCX200_MODULES),59) 
    254254  TITLE:=Geode SCx200 I2C using GPIO pins 
    255   DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit 
     255  DEPENDS:=@PCI_SUPPORT @TARGET_x86 
    256256  KCONFIG+= \ 
    257257        CONFIG_SCx200_I2C_SCL=12 \ 
    258258        CONFIG_SCx200_I2C_SDA=13 
    I2C_SCX200_ACB_MODULES:=\ 
    271271define KernelPackage/i2c-scx200-acb 
    272272  $(call i2c_defaults,$(I2C_SCX200_ACB_MODULES),59) 
    273273  TITLE:=Geode SCx200 ACCESS.bus support 
    274   DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit 
     274  DEPENDS:=@PCI_SUPPORT @TARGET_x86 
    275275endef 
    276276 
    277277define KernelPackage/i2c-scx200-acb/description