Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1835103rwr; Fri, 28 Apr 2023 02:28:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6IPBTqq9Bu5gvejHvuqchX9c8xAP5zpqv8l072mOo8qECYrIimV0CNEtQa+P5qugrMSz56 X-Received: by 2002:a05:6a20:4412:b0:f0:86ef:d8b3 with SMTP id ce18-20020a056a20441200b000f086efd8b3mr6258832pzb.23.1682674088307; Fri, 28 Apr 2023 02:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682674088; cv=none; d=google.com; s=arc-20160816; b=KytgSFi2BGR70kudpMqP9OrtSSrvGqcmBJpNpdC6a1fMoOxzSHpA0JGyXMQBi6cesw eTJaB+xZ76VLCN+XZmJC3luBnoFXuf9T7OVGFfg1VojFfBGHUkWPth1jC31G/mILmYBt zYRkEEwLdru3S3S7TB4a4G0NDz4dPAJKQ4QzUmLhLBFaMqi/KqDW2PxPZRbM0+7BBAJ/ Z01UcaDsOXv90N1nLR8G6ocKmbZBnuKFghTw0nce69kVVNrVN0JNjwD0vw+nltqtNtit MwpKgKYE+aqlG5PXRXR48CwmOJXtVqPYr9TSHZx1mPzKfXbcqXwEDqUsdSrmtnZW2G23 INAw== 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=a8LPWjgILTwzCXTnxMyf3UL56Gir03CTrjJ1dELdifc=; b=YfzX+irRzM4vHIZPP2P5iTuB1xPAA8v1llcHU/09o7LrHDfBoWJo9znspgVFUPUPQj 7oyw6fN5keSYTsxEkDiWs/VXx+VcWrmiY1ZBPrBwUOQFbAnOvpPObQaJXU2lYMUDjfBP MuTcbi7jM3JjsAk91X5VW38kHtEZ/eudYv8fJb9g544ycu5qvdBitkgPWlEjn4wTnK4d W+fVImciN5I3Cf1NRYcrGgnUCq9o4UmU56mj+dZxJcj7FmWGzSysGve10/PdgIB3ICPY K3+YMUib+o2AgrV2uIYtHolV5Qq3fnFS/1EHBwhq2CNnSxpiwH0yfW2Co9g+xW0qCGnl E8ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tRo1idc8; dkim=neutral (no key) header.i=@suse.de; 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 a7-20020a624d07000000b00627e8781dbfsi20929696pfb.266.2023.04.28.02.27.54; Fri, 28 Apr 2023 02:28:08 -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=tRo1idc8; dkim=neutral (no key) header.i=@suse.de; 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 S1345762AbjD1J1d (ORCPT + 99 others); Fri, 28 Apr 2023 05:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345536AbjD1J1R (ORCPT ); Fri, 28 Apr 2023 05:27:17 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27DD1422E; Fri, 28 Apr 2023 02:27:16 -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 7CC0021ED0; Fri, 28 Apr 2023 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682674034; 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=a8LPWjgILTwzCXTnxMyf3UL56Gir03CTrjJ1dELdifc=; b=tRo1idc8eAw28xQnhXge5LpcgaCy669Sugd/BNEdm7s3GLfWrCbBTjXbbSEkFDdISLmjSi cQ/jjoC8nKyYtlUnCFrg6ParOvcuZvVLzy6WCsyDi31rBZ63MMDcTI5eoh1D7Ad8JddjB2 XzUr10eifrCblQWbIcFJ524QcrmlVx8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682674034; 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=a8LPWjgILTwzCXTnxMyf3UL56Gir03CTrjJ1dELdifc=; b=xqvICC3yxUxO4V40p4AlY8i+Sklalw+AWg9U3mY/gt0gtsNV6ltII7GNv4PS2+IQhVAGzn VARzQeB6fUGupIDQ== 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 21913139C3; Fri, 28 Apr 2023 09:27:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id iH1rB3KRS2ReFwAAMHmgww (envelope-from ); Fri, 28 Apr 2023 09:27:14 +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 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 v2 3/5] fbdev: Include in various drivers Date: Fri, 28 Apr 2023 11:27:09 +0200 Message-Id: <20230428092711.406-4-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230428092711.406-1-tzimmermann@suse.de> References: <20230428092711.406-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=unavailable 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 --- 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 45e64016db32..d631d53f42ad 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 42255d27a1db..99c7b0aea615 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.0