'\" t .\" Title: I2C_BOARD_INFO .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: I2C and SMBus Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "I2C_BOARD_INFO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "I2C and SMBus Subsystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" I2C_BOARD_INFO \- macro used to list an i2c device and its address .SH "SYNOPSIS" .HP \w'I2C_BOARD_INFO('u .BI "I2C_BOARD_INFO(" "dev_type" ", " "dev_addr" ");" .SH "ARGUMENTS" .PP \fIdev_type\fR .RS 4 identifies the device type .RE .PP \fIdev_addr\fR .RS 4 the device\*(Aqs address on the bus\&. .RE .SH "DESCRIPTION" .PP This macro initializes essential fields of a struct i2c_board_info, declaring what has been provided on a particular board\&. Optional fields (such as associated irq, or device\-specific platform_data) are provided using conventional syntax\&. .SH "COPYRIGHT" .br