Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db2c395d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: GKI: disable CONFIG_I2C_CHARDEV



With the proper use of HALs, there should not be any need for the
i2c-dev.ko module, so remove it from the hikey960 config and the
whitelists for symbols.

Bug: 157965270
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I36fec7b3374b27f4c2f4a82ea9bfac7a0bc725ea
parent f520ca12
Loading
Loading
Loading
Loading
+15919 −15921

File changed.

Preview size limit exceeded, changes collapsed.

+0 −16
Original line number Diff line number Diff line
@@ -719,22 +719,6 @@
  i2c_del_adapter
  i2c_parse_fw_timings

# required by i2c-dev.ko
  bus_register_notifier
  bus_unregister_notifier
  cdev_add
  cdev_del
  device_for_each_child
  i2c_adapter_type
  i2c_bus_type
  i2c_for_each_dev
  i2c_get_adapter
  i2c_put_adapter
  i2c_smbus_xfer
  i2c_transfer_buffer_flags
  i2c_verify_client
  register_chrdev_region

# required by hisi_powerkey.ko
  devm_input_allocate_device
  devm_request_any_context_irq
+0 −11
Original line number Diff line number Diff line
@@ -2135,17 +2135,6 @@
# required by aes-ce-ccm.ko
  ce_aes_expandkey

# required by i2c-dev.ko
  bus_register_notifier
  bus_unregister_notifier
  i2c_adapter_type
  i2c_bus_type
  i2c_for_each_dev
  i2c_get_adapter
  i2c_put_adapter
  i2c_smbus_xfer
  i2c_verify_client

# required by xt_TEE.ko
  static_key_slow_dec
  static_key_slow_inc
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ CONFIG_WLCORE_SDIO=m
CONFIG_INPUT_HISI_POWERKEY=m
CONFIG_SERIO_AMBAKMI=m
CONFIG_SERIAL_8250_DW=m
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_DESIGNWARE_PLATFORM=m
CONFIG_SPI_PL022=m
CONFIG_SPI_SPIDEV=m