From patchwork Mon Feb 12 10:09:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 127979 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3056797ljc; Mon, 12 Feb 2018 02:09:48 -0800 (PST) X-Google-Smtp-Source: AH8x226LEvKfEIOMO4LJf0upWuO7DeyLyufsWQ9goRaNmGjVzcPYhNAiKCc4TB1xDqkfZR/oOH3x X-Received: by 10.98.83.71 with SMTP id h68mr11246789pfb.198.1518430188275; Mon, 12 Feb 2018 02:09:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518430188; cv=none; d=google.com; s=arc-20160816; b=DBydq6JIdNHcWqINsLlwq0BoqGSZrhc55BIuKC/bEF2TmXyl3EjJZk+p5P1hj3yMFO qv2toPWjbYXMZIX/N/6z7cOFtLdSDtT1FafKFIA88Hd+Ia4MSOosXy3wsYvwyMZvnCiY 8hE/3KZMtxh3mm8lwlkH/WFdScXNzgvvCZuyHrOv4f2SL6IHYCRTkSZeJH0+olcjJVXj 87rpTCqRhkHMq6QeOGZZhjDzEg33l8zsWGAy/WCIS3anDPmniXwJ6y4kyepE/2g+tDCr gwV/vC05hnG9Lki2f8+viODze8xCBlooy8HUlSMdVlqzej5ggGFsvmcZ2XIbBNw0RsD5 EZyw== 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=/pBRS8oqQry1PGVDMoU6q/vSMN3k8MalYmAjga9JsC8=; b=xhsOCBetSrknVQnagmlHekyMp437CgHw0TisL/+uvlSx2zKUMiwnSEZJJNbAFRwMUP Q7XOMT3twVe6t7/miI2gdflEwG9wft77Ykx+w4SQD9ebfmbWzYGbHDdQbCPlXprtGJkw JCMPit6elyJ3es2fy2BPR1Lh860tpP/fdmjzI5/AZ9SbQnU5SgRHbXRzl6e/Yck/5sDC oC3sCM6Q+3zdXvyDkVrXKDF+785vpTMrBhtlDj3AENgKZIbHmwlIwjHnNtgIW4nMXo+G QpKYVbYIE1mvWd1WoPMPo76mj/YnzGj/vt8KY/VX1Ko4QcWqWjaSdTSVSyqUXrMel8Qm X2Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z99IATAL; 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 o2-v6si4010692plk.235.2018.02.12.02.09.48; Mon, 12 Feb 2018 02:09:48 -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=Z99IATAL; 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 S933524AbeBLKJp (ORCPT + 5 others); Mon, 12 Feb 2018 05:09:45 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:43431 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932913AbeBLKJn (ORCPT ); Mon, 12 Feb 2018 05:09:43 -0500 Received: by mail-lf0-f68.google.com with SMTP id q69so1828455lfi.10 for ; Mon, 12 Feb 2018 02:09:42 -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=fEPy8VKENhYVuje5UP64fzidZXsuCz0rlqUmq4ETXk4=; b=Z99IATALoIhTeRVbUAcB6p1vqslbMo9nEEne+BFP4pJuaaWCcn/rm0Tv7+mCvQjBPJ yVCZgL4Em0jHvV1A6eUASHzKzwFKfqGi6KB2PIQEwifR/xvOrmXMotXHR2ruOjGzJQO6 hv3ccZSp1T6aFJY6+alNid0F/OpKrNLQExA+E= 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=fEPy8VKENhYVuje5UP64fzidZXsuCz0rlqUmq4ETXk4=; b=QMTvrAyBl4kAh+iQdn03Iu97C0pS6s/wAeFAzDWb1Fh7b3UJz6LNIQmVu7oMVKgCm+ FYNvGAmoqwG6bqNJusWGSXVAj0/Yy5Xg3HWTUmi4OkZr/hqFwdMaAHVUtAz7vwYUPj8+ x1U5OqFHFOS3e2Sj6Mo0WQxJmjSfoWUR5+R/5S+5NAQoxCFcQgsHOOvWcgDV+U/hVejt qRr+GTigh74qCv2F4wVqpbcz8CGqkV/IsP0BMTFZLLfnU6hst2U3Y4VIuoMIqB/vhpMF /v2ODEbyF7CH3m2+UqcCDQWhfa/cNtcksl368V7Js2gK/q3v/zbNmpqBBzzdgeuTap5w iYLA== X-Gm-Message-State: APf1xPAMCKvxQ1WM2Ke27+ie0u1ixXSMOygjz7BMba5d/STWu9aToOqM 3h/cEJHQyiDTSs1z74b8CXhqb4AhOdw= X-Received: by 10.25.75.132 with SMTP id y126mr7086958lfa.122.1518430181711; Mon, 12 Feb 2018 02:09:41 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id t67sm1011086lje.16.2018.02.12.02.09.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Feb 2018 02:09:41 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij Subject: [PATCH] gpio: include consumer header in gpiolib.h Date: Mon, 12 Feb 2018 11:09:38 +0100 Message-Id: <20180212100938.7405-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org We are forward-declaring enum gpiod_flags, but this is not referenced by pointer, it is a real struct member, so we need to actually include it to compile anything including the local gpiolib.h header. Signed-off-by: Linus Walleij --- drivers/gpio/gpiolib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.3 -- 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 diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index b17ec6795c81..ad456b6f9d8b 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -13,13 +13,13 @@ #define GPIOLIB_H #include +#include /* for enum gpiod_flags */ #include #include #include #include enum of_gpio_flags; -enum gpiod_flags; enum gpio_lookup_flags; struct acpi_device;