Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934214AbeALPvh (ORCPT + 1 other); Fri, 12 Jan 2018 10:51:37 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:49399 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933997AbeALPvd (ORCPT ); Fri, 12 Jan 2018 10:51:33 -0500 From: Arnd Bergmann To: Guenter Roeck , Jean Delvare Cc: Arnd Bergmann , Samuel Mendoza-Jonas , Andrew Jeffery , "Edward A. James" , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hwmon: pmbus: ibm-cffps depends on LEDS_CLASS Date: Fri, 12 Jan 2018 16:49:00 +0100 Message-Id: <20180112154926.3646202-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:9T4VyxuczpHHsCBJ7EqDRC1wvKMqUptFj6JclJxadI0JZbgxO6m +QfzfWDGvZN8VqLjX9Tem1OTrlvhmOhH35xiZO6pkuDUXLK/ZA7Vx7cfSbbp2yz0j9igJ3f Cp6pVo7YNZgeSdwVuDU/LFdFhC86WworsU4yDuMUvwZHHXIvOxzApiZ6615r8smr+ABZg9C gszgTlakbLCO1J7fUTcRQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:U7q2CzO8+P8=:mQ5IC4ZyE/ldc31v0HNPRU SwiZOQTfKUVhIwiCjY1gYcPnVhmONXvZQhAbjUn486/TrBUMU6XUX93Qulv/jBuY6roYVdhhu mAlTijyyFEpJmZ5c+xifg0gPjfchyeY+c4bxEC73uj2gIdGSBHdM6wABkmv1gKo0RZhMFNVX9 pQYKZM5uGJsOc4nBbSo1Gk1Irlm6gzs/+bIY8M9wDNGM9Zclkvnenay0dSXkce3rb5wjXlVvC sK8s7FrXd8cQfGskb27kWynI8pIG8K3gV2/HM8psHsJZhB3KOHDUjDsq9Xg2kjdzPELYpauNC VXJIZNz9qt6bksuwdFYQ416JbGvjwj+Vtq8f2WGyAtmbSPytgCqBNGBbu3MRy/4OThHOOI6FR DZ8kdhO+Fmi3TeC+7UMh/PmSYoM3pyDz7sKVFdzt9O6gwz8xgYlRfBqrvJxhQajf1ccWaygcx ZTV5wH6QeTze7iwO4CPf3zDt/AFm/beQECBh2EyDyhHovd09Qf4yZ8nkcgWPfNcsnixylXNQc Mlhe8LXwDiAmEQlWFk11BKLGG2g1UJVuhK7Q0qIqrfXpO3U3/D9TcKihlc/UjtZWoaG2W5Vij ns7PZ7WaPHv41Zi72mfIIUrX8WyPlCMBmIDXGjPe1VfYp/2sry337z+THflRkvIcGnPTuC66J UWI7jI5d0PePeUsaSnA4+0xWZelW8oljiXUfXGIFynq+xDddbYIYeoIgSZS6j8bjzVaroF8E1 U81TV5F/rvt1mOJMh5dsJy16ldkrgkIXEw2wZw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Building without CONFIG_LEDS_CLASS causes a link failure: drivers/hwmon/pmbus/ibm-cffps.o: In function `ibm_cffps_probe': ibm-cffps.c:(.text+0x4f4): undefined reference to `devm_of_led_classdev_register' This adds the required dependency. Fixes: f69316d62c70 ("hwmon: (pmbus) Add IBM Common Form Factor (CFF) power supply driver") Signed-off-by: Arnd Bergmann --- drivers/hwmon/pmbus/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig index 08479006c7f9..6e4298e99222 100644 --- a/drivers/hwmon/pmbus/Kconfig +++ b/drivers/hwmon/pmbus/Kconfig @@ -39,6 +39,7 @@ config SENSORS_ADM1275 config SENSORS_IBM_CFFPS tristate "IBM Common Form Factor Power Supply" + depends on LEDS_CLASS help If you say yes here you get hardware monitoring support for the IBM Common Form Factor power supply. -- 2.9.0