diff options
author | David Brownell <david-b@pacbell.net> | 2008-02-24 20:03:42 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-02-24 20:03:42 +0100 |
commit | 263867631ea02741baf878ca9faaf94b1563b9d7 (patch) | |
tree | 11875248c5115517ca1b328a630030461f0d00b1 /drivers/i2c | |
parent | 104cb574feb3033299568483a3f68031f47e0d43 (diff) | |
download | linux-263867631ea02741baf878ca9faaf94b1563b9d7.tar.bz2 |
i2c: Make i2c_register_board_info() a NOP when CONFIG_I2C_BOARDINFO=n
Don't require platform code to be #ifdeffed according to whether
I2C is enabled or not ... if it's not enabled, let GCC compile out
all I2C device declarations. (Issue noted on an NSLU2 build that
didn't configure I2C.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions