From patchwork Mon Feb 12 10:11:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 127980 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3057995ljc; Mon, 12 Feb 2018 02:11:25 -0800 (PST) X-Google-Smtp-Source: AH8x227zsMovYcSBbvjeUreIxWHAaBjX1KBTPkxOfULUDt0hbShRZiFCsVAPRrT28pGM8/kaKCFu X-Received: by 2002:a17:902:396a:: with SMTP id e39-v6mr10427392plg.324.1518430284965; Mon, 12 Feb 2018 02:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518430284; cv=none; d=google.com; s=arc-20160816; b=LZAIHFvva9VEYSACPN0CW/Yo7Ly8kFn69v0oavdMNeIUaNg+D1Bdvt0RHy60jLiLRQ sWSPJUovW/4SccAo4CE3cZ1kwWu+iffY3kUlKlGCE1/6ey1awGkNtfg/Nr2DhddwK/tq 67COG63jKf/HTDrOXqC+WaG0L1WpPEO8aoE0fSagmVcoSiVSGUAyWVPA237ZW4h/bk6u P/cfhOvzFMz2ibIvOfBMUfrB3g9jPaLfo5UWHfz811VYLQMyiEsT62FrtDj2jTo2rPm2 NU9hiVJ5cYZAbw7QWZMXH25R4A3GMNIINQyRBBYXzjFVLHBiDvQ+ne5etuCYAMaDL9EU h4iA== 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=EpzqaUSb60Zka9JW8n14KriwZOFR3hDadMQ5zWjl3O8xyB+a+LpmgOn4D3wAhzmJBE XNLDG5Rop9E/1k7vKSd5nKTPQIBuABfx8MRFEjVdLUMTSdF/WUq6YAaYckEJA/4B+b8O vvVZ7zP3YYOMCeRM/pA6CPjWvO2t92dGL0D4AL9HXWMK2nN1aNOFEZdyuV9oX542P3wn nbfYBa2jYLQJpNN+30N4bR0X6zf40LMLZ2HkAdtwrzGLcjsQTcWyYYOS4rn+AYCVq29H zE0grXqSW9ZdgHclU9jyTgRRrCEA664K+bIlzIXdefMpw4ZAK7UMGr0VEPCiM6ZYcQEf h5GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hsoxMDlm; 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 e89-v6si3105503plb.461.2018.02.12.02.11.24; Mon, 12 Feb 2018 02:11:24 -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=hsoxMDlm; 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 S933568AbeBLKLX (ORCPT + 5 others); Mon, 12 Feb 2018 05:11:23 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:43655 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932630AbeBLKLU (ORCPT ); Mon, 12 Feb 2018 05:11:20 -0500 Received: by mail-lf0-f68.google.com with SMTP id q69so1834607lfi.10 for ; Mon, 12 Feb 2018 02:11:19 -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=hsoxMDlm2bFDlCtdsU7CN1QeIb5Qzl77T1goHAT7FOuXhAHaFj0g3D8jJtcfgN9p4B 3ZfHaqNf2lg+R2V0EEGN4kVnb2KC9VWi4+U839A1OZIO2b1fyXztWh7ib5+38B/0K91f jdxa9HXyYzgyO17LBrlQoecjLJqk4IQJ6mkH4= 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=d86m0gzbNnOnrNdIfcou27/DOB+feYrCvsr29u06CRdh/adCOgNMpiHr5RlY1RWJcM YGg9I9KKG0K1YVUcfygQvv98DbUAQCLjzRax2R8SSTt8mB0+cbjxn2PQOgvVJT/bwk8i SePXEKdMc8NiF7Y3kA9MBngtNdMxB6f5ah9K7MLgPkW9rOKZ1kGoJOQVQzQd4fEzzmfO /HCZO9mXfWPdNx+o+3ZKfxGW2Ib4mUrFf+tbjMWtwIQyvAFfstqHRHRoOSlabWr8pIea Q6vbFf+dRbahSG3Iw3rpd/+SmV6mR0/EcGf1XgsyhmveA150nIgw023P3iLERzFxCMUy 4JYQ== X-Gm-Message-State: APf1xPDDyanz1NOgSN4a+XVaUK2/leqtqGnpOPiZxTvuHwqty537H+0e JNj5tk5GxCdnVU7SuelG8p+YgMENGxA= X-Received: by 10.25.121.21 with SMTP id u21mr7180168lfc.79.1518430278819; Mon, 12 Feb 2018 02:11:18 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 5sm933938lfp.17.2018.02.12.02.11.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Feb 2018 02:11:18 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Hoan Tran Cc: Linus Walleij Subject: [PATCH] gpio: include consumer header in gpiolib.h Date: Mon, 12 Feb 2018 11:11:15 +0100 Message-Id: <20180212101115.7836-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;