Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'i2c-for-6.18-rc1-hotfix' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c fix from Wolfram Sang:
"One revert because of a regression in the I2C core which has sadly not
showed up during its time in -next"

* tag 'i2c-for-6.18-rc1-hotfix' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
Revert "i2c: boardinfo: Annotate code used in init phase only"

+3 -3
+2 -2
drivers/i2c/i2c-boardinfo.c
··· 22 22 LIST_HEAD(__i2c_board_list); 23 23 EXPORT_SYMBOL_GPL(__i2c_board_list); 24 24 25 - int __i2c_first_dynamic_bus_num __ro_after_init; 25 + int __i2c_first_dynamic_bus_num; 26 26 EXPORT_SYMBOL_GPL(__i2c_first_dynamic_bus_num); 27 27 28 28 ··· 48 48 * The board info passed can safely be __initdata, but be careful of embedded 49 49 * pointers (for platform_data, functions, etc) since that won't be copied. 50 50 */ 51 - int __init i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned len) 51 + int i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned len) 52 52 { 53 53 int status; 54 54
+1 -1
include/linux/i2c.h
··· 499 499 * Modules for add-on boards must use other calls. 500 500 */ 501 501 #ifdef CONFIG_I2C_BOARDINFO 502 - int __init 502 + int 503 503 i2c_register_board_info(int busnum, struct i2c_board_info const *info, 504 504 unsigned n); 505 505 #else