aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMartin Peres <[email protected]>2016-12-07 06:30:15 +0200
committerBen Skeggs <[email protected]>2017-01-31 20:05:25 +1000
commitd72498ca2cbcf15e5038b184a95f061bca21e820 (patch)
tree6bfbd74d0148271552508b3c88f5c330000f641d /lib/test-string_helpers.c
parent7dfee6827780d4228148263545af936d0cae8930 (diff)
drm/nouveau/nouveau/led: prevent compiling the led-code if nouveau=y and leds=m
The proper fix would have been to select LEDS_CLASS but this can lead to a circular dependency, as found out by Arnd. This patch implements Arnd's suggestion instead, at the cost of some auto-magic for a fringe feature. Reported-by: Arnd Bergmann <[email protected]> Reported-by: Intel's 0-DAY Fixes: 8d021d71b324 ("drm/nouveau/drm/nouveau: add a LED driver for the NVIDIA logo") Signed-off-by: Martin Peres <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions