From patchwork Fri Jul 28 13:18:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9868787 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 936B160382 for ; Fri, 28 Jul 2017 13:18:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F42428477 for ; Fri, 28 Jul 2017 13:18:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73E0C28506; Fri, 28 Jul 2017 13:18:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3122A28477 for ; Fri, 28 Jul 2017 13:18:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752163AbdG1NSl (ORCPT ); Fri, 28 Jul 2017 09:18:41 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:62114 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbdG1NSi (ORCPT ); Fri, 28 Jul 2017 09:18:38 -0400 Received: from wuerfel.lan ([78.43.238.10]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lb2iX-1dz6AX0lez-00kdPo; Fri, 28 Jul 2017 15:18:28 +0200 From: Arnd Bergmann To: Jiri Kosina Cc: Jason Gerecke , Benjamin Tissoires , Arnd Bergmann , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: wacom: add USB_HID dependency Date: Fri, 28 Jul 2017 15:18:00 +0200 Message-Id: <20170728131826.180483-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Eny/3CEuQDqnZ2XKHp4DVXxpi+YzO+iUySWkF+H7Q3CdngoemIU WFpKciDWSTek0m4gg/tONaqtMT4BIBrlJnu8GAPGh0Ni92cqRXMc5TiSlYJgQyxXojBjOcM idGyj9sz/AGWuMnWyHo+1uWzlJu/NpbLP4mg+63lcnkfcuv7qaP7RYsGM4//50mLR3RpFeR eUfd3yHuY+5i0GUH1sBxw== X-UI-Out-Filterresults: notjunk:1; V01:K0:GSWnnq380ec=:x4ZFRvueJsMPbaQ/9syjdY ciNXx9w6JokS5tu8wUY3m2CEGv+rvkRjIxHGwrWlb9YnG5w3B8heXi0sq5ZYUyZGgFwKEDxID 3RHmf+c6lqU32KwMJeS9oD6OxEye4aRbSQ9sr7IAEe+nandimmFSyCzX5Tv+SywdYLOSXO8E4 GxOCv7ALsvkckQG4imVdeTUAsCtXFKiKSMB1IWykOJ3vorbLOQS0fQ2XawmwYv54R6+KU2OyB p9zsdJ0Rp2SiSKnibYyPZo+ff2ZNBrl0X+kNDQFsWzUgOrfKX5ObFF9xgF3f123eVK9zu0vok 8cPnc5Qa8m+pfzEtrfDqJBkNMw5o4Rva/qBy+pJOjbIcGKGiCB/iElARNFKeSdpzn86zicmVW YPXkZIfbSe5vviKGruj1W1Y/wwcTyREiRmQZcBpvaL876nPO6S0Gf60T0tMBqUzfi+jfz46qb Z+ZjdFMt1G/Tqvy3Ize7IKTb/gNZo7eglznXi7QeDxQvyPQf9He3HMsVGffE/1rz4IvD+bW2L hMA4k7TZLM5UyD26TXMpZvXEzTWYBvC38/RN9c1mOniB8p9JrJlHqTBYa4ql0fd59M0LjMYL/ 680i0MXezBljKlYkC5SkT+o7BJzg2ZDlIB8UbTchouBLyuRSlDLNoFQMRKhz4jg0OhiKMc/qb Nq+s4fidMG74pdy5gfGPGhsGlg4VZkciwCdJ6PC/uaocODCpxug/uIzy2NGYmaKvCet7ZtKwV tdMcnAJvfzulyicoPeYuVk/3xgCGoLDicW0TOQ== Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The driver has gained a compile-time dependency that we should express in Kconfig to avoid this link error: drivers/hid/wacom_sys.o: In function `wacom_parse_and_register': wacom_sys.c:(.text+0x2eec): undefined reference to `usb_hid_driver' Fixes: 09dc28acaec7 ("HID: wacom: Improve generic name generation") Signed-off-by: Arnd Bergmann --- drivers/hid/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 3cd60f460b61..0a3117cc29e7 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -924,7 +924,7 @@ config HID_UDRAW_PS3 config HID_WACOM tristate "Wacom Intuos/Graphire tablet support (USB)" - depends on HID + depends on USB_HID select POWER_SUPPLY select NEW_LEDS select LEDS_CLASS