module_i2c_driver(9)

module_i2c_driver9

Helper macro for registering a i2c driver

Usage

module_i2c_driver(__i2c_driver);

Arguments

__i2c_driver

i2c_driver struct

Overview

Helper macro for I2C drivers which do not do anything special in module init/exit. This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init and module_exit

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.