File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ EXPORT_SYMBOL_GPL(__i2c_board_lock);
2222LIST_HEAD (__i2c_board_list );
2323EXPORT_SYMBOL_GPL (__i2c_board_list );
2424
25- int __i2c_first_dynamic_bus_num __ro_after_init ;
25+ int __i2c_first_dynamic_bus_num ;
2626EXPORT_SYMBOL_GPL (__i2c_first_dynamic_bus_num );
2727
2828
@@ -48,7 +48,7 @@ EXPORT_SYMBOL_GPL(__i2c_first_dynamic_bus_num);
4848 * The board info passed can safely be __initdata, but be careful of embedded
4949 * pointers (for platform_data, functions, etc) since that won't be copied.
5050 */
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 )
5252{
5353 int status ;
5454
Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ static inline struct i2c_client *i2c_verify_client(struct device *dev)
499499 * Modules for add-on boards must use other calls.
500500 */
501501#ifdef CONFIG_I2C_BOARDINFO
502- int __init
502+ int
503503i2c_register_board_info (int busnum , struct i2c_board_info const * info ,
504504 unsigned n );
505505#else
You can’t perform that action at this time.
0 commit comments