Let Kconfig handle lis3lv02d dependencies
authorJean Delvare <khali@linux-fr.org>
Mon, 21 Mar 2011 16:59:35 +0000 (17:59 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 21 Mar 2011 16:59:35 +0000 (17:59 +0100)
commit39c3e721d65793373e7bc6f5dad0591ef6d09268
treefd88c93eebeebbbfa75b04769d7c8734c93222df
parentccd32e735de7a941906e093f8dca924bb05c5794
Let Kconfig handle lis3lv02d dependencies

The dependencies between the various lis3lv02d drivers make it
impossible to split them to different directories, while we really
want to do this. Move handling of dependencies from Makefile to
Kconfig, to make the move possible at all.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Eric Piel <eric.piel@tremplin-utc.net>
Tested-by: Takashi Iwai <tiwai@suse.de>
drivers/hwmon/Kconfig
drivers/hwmon/Makefile