aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 16:58:20 +0200
committerJean Delvare <khali@linux-fr.org>2009-06-19 16:58:20 +0200
commit23af8400571ac4431fac0caefeac18f8aef490df (patch)
tree815be4893ec9a0875813151de3fe85dcae781434 /Documentation/Makefile
parentf18c41daea14baee11252da268cdf5dcd57c7c10 (diff)
downloadkernel_samsung_espresso10-23af8400571ac4431fac0caefeac18f8aef490df.zip
kernel_samsung_espresso10-23af8400571ac4431fac0caefeac18f8aef490df.tar.gz
kernel_samsung_espresso10-23af8400571ac4431fac0caefeac18f8aef490df.tar.bz2
i2c: Don't advertise i2c functions when not available
Surround i2c function declarations with ifdefs, so that they aren't advertised when i2c-core isn't actually built. That way, drivers using these functions unconditionally will result in an immediate build failure, rather than a late linking failure which is harder to figure out. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions