power_supply: Make goldfish_battery depend on GOLDFISH || COMPILE_TEST
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 4 Jul 2013 05:39:11 +0000 (01:39 -0400)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 9 Aug 2013 20:28:47 +0000 (13:28 -0700)
commite2e077cdde5c6b0c7145849afcf0780e08190311
treed9a38e021a7c4b9a12cab4a9cc35df461bb189eb
parent78be3176c4335b8ff3d9625ed3fc571e7d2ba8f4
power_supply: Make goldfish_battery depend on GOLDFISH || COMPILE_TEST

Nearly all the other goldfish peripherals (mtd, keyboard, etc) have a
dependency on the main platform's GOLDFISH Kconfig item, but this one got
skipped.  Even with consistency as a justification, there was initial
resistance[1] from some people to adding it however, as they wanted the
extra compile coverage.

Now, with CONFIG_COMPILE_TEST, we have the middle ground that will give
people the coverage who want it, and let those who don't want it to skip
ever seeing the option presented.

[1] https://lkml.org/lkml/2013/2/27/333

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/Kconfig