From patchwork Wed Nov 8 20:42:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 118336 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5756448qgn; Wed, 8 Nov 2017 12:44:43 -0800 (PST) X-Google-Smtp-Source: ABhQp+QB/SHI9YBtSprbgX9UaKgf2AZ1zZ4xnhC3RLRXiaUeQFtz/HyZX+D68cEjYQH675CK+Y25 X-Received: by 10.101.68.69 with SMTP id e5mr1596653pgq.282.1510173883181; Wed, 08 Nov 2017 12:44:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510173883; cv=none; d=google.com; s=arc-20160816; b=BUTjklD8le5qRdn1fT53JL4WIbjEu7hbciwtCiwEjkL2+tGKQLaa+fmnXaUiD7Smgu AbXcIrviUvr8vsh7Tecy3t+oJebvnl8STe3PCmSY48GLWnnHDKr6etbOdYVrDB2pWe1j kfhwK2+zfv5sTR5eGCQvV9kuvC6xRqZQ7AAnUlGk1YyYU6uPb8MficG6kPyr+Z3QyesY qhJBDqSzGoVg56nWHE5BuM4r4zXzaHIgViIWTnEUp/bifCgzsXAn95VBfUfYO/Pe5IfG +FylvdSWzfVve3Ih6AKB4aNOsWSJLFofh8heujDG7umlUo5hmudzIuKxm51RnZL0M8rx 28EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=xfkLB/GQonrrvrZ2uSQXZFb2R/YdHu9/4n1kGkveJo0=; b=nWK1UHdiXBKEpPBgXQpYTrl6ilMHiTldCGwF3MNa4eNc/RrJXl5S3kINvT3G0VxZX2 k+W9OIq98sIvBxEIPY/SiVAG0Q2dYVNnufvZsu+4rW9sYOMubMFEUuMGne419jYJPwZk bXXY5hi6Ml2uJyJTsbACKvXc9G7CIo1BP1Rz6dOqRiJR7FLs1tKIUDXfbstZ6aRVtT8D Fil+25yW0EgW8cjwcf183G0kezTJYaXmhBjti15cd1im4c6P3AfdJ5nNYCsBnCxonaf5 5PUIdY8/gJcj8Irl4kfjv5Wzof9oCuUOuM9c2pmfVdWJuBoDnyHu5uSXJlFQ46rLEmGz gagA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DpTEjjZa; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si4567913pgt.437.2017.11.08.12.44.42; Wed, 08 Nov 2017 12:44:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DpTEjjZa; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752338AbdKHUom (ORCPT + 6 others); Wed, 8 Nov 2017 15:44:42 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:48595 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbdKHUol (ORCPT ); Wed, 8 Nov 2017 15:44:41 -0500 Received: by mail-lf0-f67.google.com with SMTP id r135so4686970lfe.5 for ; Wed, 08 Nov 2017 12:44:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=a2i7sP1c5us6hWm0tmMIvzU5spCvtFd3vu/wUtiXVPA=; b=DpTEjjZal1AQWsF01qPmoLoJB59I/NgLa80OULbyIqIwJARn9V15uLqymrmP31A7HV 3u8fA8myLUMoaghOEHjMULkYnvt5PCJ+WLWNN8E8lIDNQKO6KzDdBCtbaB+yUMplyHhD k4j4ngJHtkiBWZ73nUcDNwm5tv3xHZcJdePIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=a2i7sP1c5us6hWm0tmMIvzU5spCvtFd3vu/wUtiXVPA=; b=HKmSsoBiJPPWmUXt8rScHqpz3CU/yIuyuSYDdHV+Vbih8S8T+X23uhe8kcwYsmHaGB yG1yFI8WCUXcURUWmkocPRXrsLPwM8wssG/La6FkBZvlLgT3hpl0GZA1KCfJs1ZH7/X4 4XoAoLIjAfx8AIes898D+In0oPzkwJ7b63MFk/ytG5BBKR0ZE+I3Dvi7wJYBiiiNQgvz RVhSe1GIe7chBPANxW0SaBiidXOZU3SUT9cOjt54pagtI8dC8XTkq7R03JwaEcpUmrzG 4NGv+QrAnGmsM8/DBVJJjsvvELpOs+WOiaU4Wf6ignfVqqeVl8VnXeS8/leSLzo8Bgqx rY5A== X-Gm-Message-State: AJaThX4Vd0Pt+91MgAMS/dBnV4KEp5WjesFq6mD1Mk7mc2+wiZ+ndZyx PkwyFq8bJU32qDLT8uNdpKUDkzMoMQE= X-Received: by 10.25.205.198 with SMTP id d189mr562219lfg.48.1510173880070; Wed, 08 Nov 2017 12:44:40 -0800 (PST) Received: from localhost.localdomain (c-567171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.86]) by smtp.gmail.com with ESMTPSA id a66sm984951ljb.11.2017.11.08.12.44.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 12:44:39 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Thierry Reding Subject: [PATCH] gpio: Fix undefined lock_dep_class Date: Wed, 8 Nov 2017 21:42:36 +0100 Message-Id: <20171108204236.4493-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.6 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The struct is wrong, this is named lock_class_key. Cc: Thierry Reding Signed-off-by: Linus Walleij --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Thierry Reding diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 961b5da38bb9..86dcd02cf602 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -1940,7 +1940,7 @@ EXPORT_SYMBOL_GPL(gpiochip_irqchip_add_key); #else /* CONFIG_GPIOLIB_IRQCHIP */ static inline int gpiochip_add_irqchip(struct gpio_chip *gpiochip, - struct lock_dep_class *lock_key) + struct lock_class_key *key) { return 0; }