From patchwork Thu Nov 3 10:15:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1698816 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=okvYEstr; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4N305H16yyz23lK for ; Thu, 3 Nov 2022 21:15:46 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230132AbiKCKPm (ORCPT ); Thu, 3 Nov 2022 06:15:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbiKCKPl (ORCPT ); Thu, 3 Nov 2022 06:15:41 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C28331C1 for ; Thu, 3 Nov 2022 03:15:40 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id u2so1598341ljl.3 for ; Thu, 03 Nov 2022 03:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ba2RHuNnxHRUZprt+7VnyllD6dviYtxroBxHsg3w0zo=; b=okvYEstr8o0X+egV+NqRu7sN9zBUTuobYcLeNxGvIN6AtiFlBwcjRUsdjq3TW1IfgM hy/+eX3RM59+JGMhDY+AQU4m3E4//GvJichRV5bBrdGPdsvuIMVxUkuqX82hUunxMWRJ fpNbhwL6gf5XKehxzPmxsXdfalA7wiWtwszWZiqZT56qqQOpNC8ABf5+iUPMCpohwk7n u1YVG2icGXbXbZEDgzje3DPUOXFRyRI3h/sWCuQ/e6Qp7IEurb3MoYvfeIzzi/j3qkeo T0Y1lrTQToQmQhymtBR9aYophGm2x8pqWeIZyNHmOJQsVWNFiSpSn6ujwipT1uW34Lva Nztg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ba2RHuNnxHRUZprt+7VnyllD6dviYtxroBxHsg3w0zo=; b=QgJwkoOT4Fx9mykLdU15PCRPOAX+HTTJzacaZYMbzqgoK65G0Q+E9iSFAFyTBwtIAs sofvj4FuzSPvWJKH7yI+2M9gevPoheRHWTuC3irRk/b3xTC6GGkSefdGUO+eyCwZdbXp vn3qfWTQQm/JgcdUl8M6VhHGcnB819BagdAyYN65WWrVcYnXtIteBXZ8SvZ3qjZ93Bop EfIzINelWF7NxcUf8+14p98sMVxw+H1AOkMV+xxqxixwYeHLJcKQv+e57rlJrbColZQn BhKpmUoCxBXQ7IFVywqCLVSU+neN1gkwFwguinnpjfv/G5R7MvpGmb3x3YaNVUkS2YxW pqSA== X-Gm-Message-State: ACrzQf1KR0OrnBgJTBHYIs6L6UCfFgmkCMX1dzl8kVMiphtqH1whLPQI hbFl7n5Vj89sXNmN+U89kpXJ/Q== X-Google-Smtp-Source: AMsMyM4m/DC4U+EW2Pl5GRZ8fuvaxRb6DQwE6k27YCeX1672wBcGk+QuwiLrjKygR5BEdt8ea3+6eg== X-Received: by 2002:a2e:bc11:0:b0:277:6018:6f07 with SMTP id b17-20020a2ebc11000000b0027760186f07mr6517510ljf.16.1667470539142; Thu, 03 Nov 2022 03:15:39 -0700 (PDT) Received: from Fecusia.lan (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id y6-20020a056512044600b004a45edc1de2sm72091lfk.239.2022.11.03.03.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 03:15:38 -0700 (PDT) From: Linus Walleij To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2] mips: alchemy: gpio: Include the right header Date: Thu, 3 Nov 2022 11:15:35 +0100 Message-Id: <20221103101535.715956-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The local GPIO driver in the MIPS Alchemy is including the legacy header but what it wants is to implement a GPIO driver so include instead. Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Collect Philippe's review tag - Resend to the right MIPS maintainer --- arch/mips/alchemy/common/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/alchemy/common/gpiolib.c b/arch/mips/alchemy/common/gpiolib.c index a17d7a8909c4..1b16daaa86ae 100644 --- a/arch/mips/alchemy/common/gpiolib.c +++ b/arch/mips/alchemy/common/gpiolib.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include