Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10069937rwr; Fri, 12 May 2023 03:26:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sjKbQcGuwNMKC+a7UTA2W0B+yNacWFlFjxFP5D76LLQ5C50+c/3V3bMgpGvul60yr6bOr X-Received: by 2002:a17:902:b94c:b0:1a9:8769:36b7 with SMTP id h12-20020a170902b94c00b001a9876936b7mr24354688pls.5.1683887196987; Fri, 12 May 2023 03:26:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683887196; cv=none; d=google.com; s=arc-20160816; b=h5zs9QJfssG9ok/zIB7APwUiZ6yuC436XTuxxOtIGCHaAsniJkwitseo57v/LyfX1g Gf1tEfQG5EuOP0t5xZ6QzqG4enfDurOk3fUxns1OcOIYR1YVzzfaI/30j5dqhyM6i8/D gIWV8a66BGwwZrYUMx1ZRf2bflFMxAo/Uoi48wC5vmqQyFO2WKY9QB9ecesDFrBe4S7I 9aQcwSZ8jEFEjb1mIw78M2Y2069MPDrs5oKea261ZoGodXFfsafGyVc8Rgk7RirPtzpG qvkve12wklPIB7iULhvEimV7nZLDkYqJCTe1pCnBjlJJkdlOOZVA1hbUMTVMnHbzNccO Scrg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=03FKWvzl+iydak6zPBgn3CINrXf9q24laH3mFu/UDVA=; b=kurQUJhg2EzOCqCpMwOAhgCcGUyemdyQRAg3majnGTiupruzGie0yqGfly+XDhF86x ZA+nmhwDxB5LeCUtBspzaP1BpMvLwhAMLZ+pOEFtLKlIhYJ7UEdZSbWKWy8QvrEymc08 CfQ3suaU87RHuglINUG2TKtz3/KChfMh7EDd/1h+POdAoDAtAiowFO1zvD1tNpaciag8 lZAJ5Ow5e5z4h9GhPEJ2Z79BsL5MKj5oXaQ/nHVHtJmVGg6UvzZiM0tI9dFW9GJWvSa4 byQEXDQNS0OAnvQCquK2IloQuJ/o/XVuuJ9PJp2aMtq2ms7seRSOgHmFlCBWPhX27s4S OdRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=efQrtDvc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="u/CCArIG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170902ee4500b001a64fba3382si8526978plo.148.2023.05.12.03.26.22; Fri, 12 May 2023 03:26:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=efQrtDvc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="u/CCArIG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240835AbjELKZR (ORCPT + 99 others); Fri, 12 May 2023 06:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240730AbjELKYw (ORCPT ); Fri, 12 May 2023 06:24:52 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CBF31FC3; Fri, 12 May 2023 03:24:49 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 13F4C22851; Fri, 12 May 2023 10:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683887088; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=03FKWvzl+iydak6zPBgn3CINrXf9q24laH3mFu/UDVA=; b=efQrtDvcMNmdx7Lf3hPzhgO+haLQO8FFkihKcR4RW6GMgCizKSa5taKF1ivd1Wul2WlBI7 yYifZlqYEWZuns6ICOgPip0ZAIkz+iqMb/X5lFqeg3aUpxwXTGXlSM2T8bQb667IYIXy29 YzTfy8QYFhxTNGBrbeCFATtgp+Hl1Vs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683887088; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=03FKWvzl+iydak6zPBgn3CINrXf9q24laH3mFu/UDVA=; b=u/CCArIGXSgjvSc67gCWzgTlB6iJbsD6FCzIRHoAlgiPiMEcmDNuRKIugzjo0RGV4tSzoT EK3HhoeWHRS2vbBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A7E5213466; Fri, 12 May 2023 10:24:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2EAjKO8TXmS5XwAAMHmgww (envelope-from ); Fri, 12 May 2023 10:24:47 +0000 From: Thomas Zimmermann To: deller@gmx.de, geert@linux-m68k.org, javierm@redhat.com, daniel@ffwll.ch, vgupta@kernel.org, chenhuacai@kernel.org, kernel@xen0n.name, davem@davemloft.net, James.Bottomley@HansenPartnership.com, arnd@arndb.de, sam@ravnborg.org, suijingfeng@loongson.cn Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, sparclinux@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v7 4/7] fbdev: Include in various drivers Date: Fri, 12 May 2023 12:24:41 +0200 Message-Id: <20230512102444.5438-5-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230512102444.5438-1-tzimmermann@suse.de> References: <20230512102444.5438-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org The code uses writel() and similar I/O-memory helpers. Include the header file to get the declarations. Signed-off-by: Thomas Zimmermann Reviewed-by: Arnd Bergmann Reviewed-by: Sam Ravnborg Reviewed-by: Sui Jingfeng --- drivers/video/fbdev/arcfb.c | 1 + drivers/video/fbdev/aty/atyfb.h | 2 ++ drivers/video/fbdev/wmt_ge_rops.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/drivers/video/fbdev/arcfb.c b/drivers/video/fbdev/arcfb.c index 7750e020839e..ace104850e50 100644 --- a/drivers/video/fbdev/arcfb.c +++ b/drivers/video/fbdev/arcfb.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/video/fbdev/aty/atyfb.h b/drivers/video/fbdev/aty/atyfb.h index 465f55beb97f..30da3e82ed3c 100644 --- a/drivers/video/fbdev/aty/atyfb.h +++ b/drivers/video/fbdev/aty/atyfb.h @@ -3,8 +3,10 @@ * ATI Frame Buffer Device Driver Core Definitions */ +#include #include #include + /* * Elements of the hardware specific atyfb_par structure */ diff --git a/drivers/video/fbdev/wmt_ge_rops.c b/drivers/video/fbdev/wmt_ge_rops.c index 3ed143457d22..b70961901683 100644 --- a/drivers/video/fbdev/wmt_ge_rops.c +++ b/drivers/video/fbdev/wmt_ge_rops.c @@ -9,7 +9,9 @@ #include #include +#include #include + #include "core/fb_draw.h" #include "wmt_ge_rops.h" -- 2.40.1