summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/submitting-patches.txt
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-03-04 20:49:47 +0100
committerRob Herring <robh@kernel.org>2015-03-10 10:34:33 -0500
commit4252de39d644d05d0e5f3a19ab6dd056944e64e4 (patch)
tree42d52907bfff3227cca205e443bc495dacfe9e88 /Documentation/devicetree/bindings/submitting-patches.txt
parentd3a891652adb82e1973348c703a597cb54e41dea (diff)
of: unittest: fix I2C dependency
The unittest fails to link if I2C or I2C_MUX is a loadable module: drivers/built-in.o: In function `selftest_i2c_mux_remove': unittest.c:(.text+0xb0ce4): undefined reference to `i2c_del_mux_adapter' This changes the newly added IS_ENABLED() checks to use IS_BUILTIN() instead, which evaluates to false if the other driver is a module. Reported-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: d5e75500ca401 ("of: unitest: Add I2C overlay unit tests.") Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/submitting-patches.txt')
0 files changed, 0 insertions, 0 deletions