---
name: "I2C_BOARD_INFO"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/I2C_BOARD_INFO"
---

# I2C\_BOARD\_INFO(9)

macro used to list an i2c device and its address

## NAME

I2C\_BOARD\_INFO - macro used to list an i2c device and its address

## SYNOPSIS

**I2C\_BOARD\_INFO(***dev\_type***,** *dev\_addr***);**

## ARGUMENTS

*dev\_type*

identifies the device type

*dev\_addr*

the device's address on the bus.

## DESCRIPTION

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.

## COPYRIGHT
