Scroll to navigation

BUILTIN_I2C_DRIVER(9) I2C and SMBus Subsystem BUILTIN_I2C_DRIVER(9)

NAME

builtin_i2c_driver - Helper macro for registering a builtin I2C driver

SYNOPSIS

builtin_i2c_driver(__i2c_driver);

ARGUMENTS

__i2c_driver

i2c_driver struct

DESCRIPTION

Helper macro for I2C drivers which do not do anything special in their init. This eliminates a lot of boilerplate. Each driver may only use this macro once, and calling it replaces device_initcall.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.