From patchwork Fri Aug 20 22:58:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 500423 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp29654jab; Fri, 20 Aug 2021 16:00:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoeEIrLciYncNxIku/vcCiWOgBKzA2oyuXp2r9BdY0gQHHBCjQFDkNJ97unn6YbQn0zBR5 X-Received: by 2002:a92:c60b:: with SMTP id p11mr14846313ilm.65.1629500429358; Fri, 20 Aug 2021 16:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629500429; cv=none; d=google.com; s=arc-20160816; b=zru/52OC+Y/6kAgS8iCmvRu0fm+6GI04CEqxUhHih/VNYq7F6hcmEFux7ilhOkl5BT 8nuUZ0vj2vULFXg5EPygd65RaxC/RdgvGoGxEbEVc+fA5Yp9YpV9ZUc5fZ06ZfNev6/Q ILiuZmzN712oJBkwdyydSjnXIBFVU6wzJhApbJkUnnaQPawkp0m9CJAmxXSUkgzWwfZm g4piw/7WwL0j42PR+9YxzzQ0hFOzOR/FtxvMr7gnYkHAapCqnH/TkfFLjpGEa71L6lIz g59osGE/uzY4PZlblPzufnuwYVnkp3ztTYwtu/7CTOp2QEp1sRcED7hz8Mc/OW6kLGCL Fv0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=V+/U9FpQyY4U//iKVyDtUsveyTibEXlro27MkRbNWVk=; b=DP/nugl0o2kq2iwI0ZS8YxVkcJt3a6NHIKyC+vZkjkMPu47KNHRigWDGlH5gfxa+eY YIHlgODagobb65PCEopU23lqX0/keMEo28+qvU7IX0Fa/XyPGJbms8d+Q4TY6+DVwwPt AM7O4f3WEE/qGum3m285tv91CepuOkERb7eyCnSjgPKsBTXgcWQzaPW6h2fZW03vEZKu +DC3RUWQfJsq6nmExOddq8DeQQXwfpDVer/WeY0+tqJUMTnVlLTSXKyCE/Jgjrl6PVB7 C1ComCnGzWBHRY4T+vTT/tVllckL821ip0WFNvIWUA9nQzoVquZzgJjK7R32ZLlyC/6F vldA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c9aS7ULV; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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. [23.128.96.18]) by mx.google.com with ESMTP id a10si7707816jag.18.2021.08.20.16.00.29; Fri, 20 Aug 2021 16:00:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c9aS7ULV; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S238009AbhHTXBG (ORCPT + 3 others); Fri, 20 Aug 2021 19:01:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230303AbhHTXBG (ORCPT ); Fri, 20 Aug 2021 19:01:06 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D82FFC061575 for ; Fri, 20 Aug 2021 16:00:27 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id i9so23589900lfg.10 for ; Fri, 20 Aug 2021 16:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V+/U9FpQyY4U//iKVyDtUsveyTibEXlro27MkRbNWVk=; b=c9aS7ULVPcx2QXgHIjuFJrVMHy38F8f/e3aeCtMCpOYUeSsob4okqYL/ACkJRyeEQk wnj0/n3Ua+3dCkiF1q3cjlm51oTzhx95i8IndOpYlmyF56n/r5Bf9JDEFk2ZPHAfKKc+ axl38K9nxdNc7hfoXwXnjzfCOHumu2xLtHJ8VW4mpwQDXxrHLsNVvDo2r1RVc4qeIbH7 D3pbgsvmljbv8VY5jefWwP5d9leuUi8b761h7y7qdrP16LMxkd2oZwFOG/b/ynQFb+Gn Ht7uWDEdvD3wdj5p4VxCbuf/QUvKdpSKL2nx+sz44HQg1PXpVb/ecTCLFwmJWYca+dGE qYew== 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:mime-version :content-transfer-encoding; bh=V+/U9FpQyY4U//iKVyDtUsveyTibEXlro27MkRbNWVk=; b=m5lOoggBlSAh941OJilbp/fVkLXn/GJZFdUX+RuQQGijqLxi3RkjZ9I4JRzmk5j5NT jMPnIQsVKZ14lP82A2DcDFR2AxeIGzTDeyfILu016ub8OyImzZreZl8nyqARIqW9utDs Bbvzpi1btFE32zQ8VVddYiLW6FiZl9nJrWLFIsmpbqP67m2j8dSrvN2NaWagk/cd3y04 XP6jV99nPPefTfKuGt4i0FQgsCVUN2an3LfJKAkFqLh3mzzJjB0oZjzxS8panlqzH+1H Wlz9f7V3hjQqjsmmEyYXz5pog6Xx/jYEX5tsBPZ6UHME53F/jr9ykNVgh2SOJG/S+6oN dSOw== X-Gm-Message-State: AOAM533L573PH2bgGGjuQILbyoAJYreGun56PCuVnoNTUwX8Wh+ztLX7 bjt8YETRC6sGGApvdqrvpvpSlUzHpYG3xg== X-Received: by 2002:a05:6512:1589:: with SMTP id bp9mr16338425lfb.567.1629500425822; Fri, 20 Aug 2021 16:00:25 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id r25sm636046ljc.118.2021.08.20.16.00.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 16:00:25 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Bartosz Golaszewski Cc: Linus Walleij Subject: [PATCH] gpio: max730x: Use the right include Date: Sat, 21 Aug 2021 00:58:21 +0200 Message-Id: <20210820225821.103070-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org despite the placement of the header, is used by drivers/gpio/gpio-max730*. The include needs struct gpio_chip and needs to include not the legacy include. Signed-off-by: Linus Walleij --- include/linux/spi/max7301.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/include/linux/spi/max7301.h b/include/linux/spi/max7301.h index 433c20e2f46e..21449067aedb 100644 --- a/include/linux/spi/max7301.h +++ b/include/linux/spi/max7301.h @@ -2,7 +2,7 @@ #ifndef LINUX_SPI_MAX7301_H #define LINUX_SPI_MAX7301_H -#include +#include /* * Some registers must be read back to modify.