From patchwork Fri Dec 8 13:39:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 121159 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp671662qgn; Fri, 8 Dec 2017 05:39:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMZLMwY1EJqmpdRS0AAvf2pAOdAuFlRGCzfufb/ajNIfusJQsSaoevsrf3f5hS2P5V/RPvDb X-Received: by 10.101.76.3 with SMTP id u3mr29295451pgq.136.1512740379655; Fri, 08 Dec 2017 05:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512740379; cv=none; d=google.com; s=arc-20160816; b=dMNPhHLG/v1X9y2Bz1WOeZG4bAwg22iAjnQwblzBmfqvx1zVX89L4E8qTHl4bI3XBg 0dodIos3Fr/letCEKTRshBB6R6G+hFyyQnFKiiTlPu8KxcV0Gz4CtQJwJ3kltpwM1gUD 9alqt/V80qCJIah+Df5vzQ2+W/C+75JHPcQ9P6r0RY1oUWmBQHbEURfJnjioEnR/J5Kj gAreAXA+89ep3ZVnH6dLinbYu5Znb79ZOUjnMeKT3stza//qR5SbXENAQ6YfS1rd8++Z NnoA7Sdqk9kV0NLfM3N5k+0JsukR6YCKLgbrIInI7m+LwTrYqRcCbKh+gPwe5Aqy2cfs 27AQ== 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=81um1maT6ICwJsZYFXldV4XSNt/FNAdiDxIODq6y1q4=; b=haebVpcGFicybi9DcBVS/4JYGKoCIjODtywXZdtPJrmbThW2J5ziifFXo7RPX8eICT WtZcQiCohvOnZ7jIeWqy9yoQG3qBflXDYHWJ87O/ltuEz/Bi9GU+j308mnYMeh9zQzK/ e1n5qK8iI8UECTpsuWNP6UjOD7BFZzbZs+mzTgftYdpXnmXLa/sqtyaYK0OgsFX3zPbb juDXM6GbN64aSRsKcyp5hCdb30uYht9YBUHzUWNluuiO4JvTurEG4GoX8e4SviDwkm9X reYQ8IbB5+ytQ46NrsGIcEX/NBvUz2/Wv3mEb0vLIbZtXJWEAP+tIsv5jhkb5+CvJhlz n4TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gg5B3efv; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (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 w1si3870612plz.696.2017.12.08.05.39.39; Fri, 08 Dec 2017 05:39:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gg5B3efv; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753247AbdLHNji (ORCPT + 3 others); Fri, 8 Dec 2017 08:39:38 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:43162 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752990AbdLHNji (ORCPT ); Fri, 8 Dec 2017 08:39:38 -0500 Received: by mail-lf0-f67.google.com with SMTP id 94so11914148lfy.10 for ; Fri, 08 Dec 2017 05:39:37 -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=81um1maT6ICwJsZYFXldV4XSNt/FNAdiDxIODq6y1q4=; b=gg5B3efvOie0h7uhXjXkkpxLL6uY40Sb8VTfRrHBiGXri5nk/w5PY/+leRmhIgpsRY SRxnkPQgkCAoi7zGA8qvACSrxd0HR7kX+17JNILkwLZDa5dziTt9xVzjLAeotjoIO2Ge vDcmrkxMt7M2+I9pPV8KiXlVK+AEhxEyfblXA= 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=81um1maT6ICwJsZYFXldV4XSNt/FNAdiDxIODq6y1q4=; b=JtKZGxN5HnY20k9HOkJvCxxZyC6gHDt2Yf0xz8sQx+sVd0uu8qGsZKyFWvJVh5YzXL sBqGfRYQzYt7U3EkHPkqe7A37UBbd9eOzpf28cdiZw59J+9oY9gXIPDgMQE2zndTHhlF NEVk+YYZdVT70oi//boA2gU/rtm5rXoxNKouKgQsPkVMY4ucQgNAnjTF2XnVUj8Ef8XI viEHoTYKXoXJp9vmF/o2mL2uFWBdzgx3Rshcc29AHmH2rKPVLQnknhW7zgHUh/DxK5ln xUjjnVglsPELgjaNVF7hKGyCPXSO7jZAehpORECNXj9i1xQ/oDnwTaAxIjhh8k0d52wS rfDQ== X-Gm-Message-State: AJaThX7GLVK6na0tHTNMIVOXkgp4MjQI2FquVr0u9fUSVaGZdc1QL9Up ep/F9CxcN/HOk/mHy0H63De9lw== X-Received: by 10.25.234.26 with SMTP id i26mr14759529lfh.188.1512740377076; Fri, 08 Dec 2017 05:39:37 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f10sm1428210lff.56.2017.12.08.05.39.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 05:39:36 -0800 (PST) From: Linus Walleij To: Wolfram Sang , linux-i2c@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij Subject: [PATCH] i2c: Include GPIO consumer header in main include Date: Fri, 8 Dec 2017 14:39:34 +0100 Message-Id: <20171208133934.18038-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org It seems most users of pick up their dependency of from other paths but that is not a universal law, so include the header explicitly so we have struct gpio_desc available. Signed-off-by: Linus Walleij --- include/linux/i2c.h | 1 + 1 file changed, 1 insertion(+) -- 2.14.3 diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 5d7f3c1853ae..8b968c44ddfa 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -34,6 +34,7 @@ #include /* for Host Notify IRQ */ #include /* for struct device_node */ #include /* for swab16 */ +#include #include extern struct bus_type i2c_bus_type;