From patchwork Fri Apr 28 09:27:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 678086 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D072FC7EE2E for ; Fri, 28 Apr 2023 09:27:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345726AbjD1J11 (ORCPT ); Fri, 28 Apr 2023 05:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345627AbjD1J1T (ORCPT ); Fri, 28 Apr 2023 05:27:19 -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 879C02709; 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 EA67421ED4; 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=dttAvrB3jWpgJtm9agssOOqjg81G8y/0rvJLga4TX2Y=; b=FwzEoVEM5ZiVwRaUsiqsC8uRZWBO0MENeFjb4KljMvyGhacHJZV47m4LttrCa9k5i29zKI xxUxXlg9OZD9SuPtOvr4jNFpkKAsJb0LFp87xP9gLubAV/zYUIjbsTTt6iBGig6rU6tMIO G+/8q4UnnFtv1Cm3+83jYcyPbY686PM= 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=dttAvrB3jWpgJtm9agssOOqjg81G8y/0rvJLga4TX2Y=; b=f7CADmYihbbC+E9Kv+aJQGm6+DtR2PPa8qKUuBrxYkngL6XlfxSm3GzLAv8xtNoxkFsWvI rWwz6lNTNlGzLVDQ== 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 820FA138FA; 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 AJPpHnKRS2ReFwAAMHmgww (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 4/5] fbdev: Include in drivers Date: Fri, 28 Apr 2023 11:27:10 +0200 Message-Id: <20230428092711.406-5-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 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fbdev's main header file, , includes to get declarations of I/O helper functions. From these declaratons, it later defines framebuffer I/O helpers, such as fb_{read,write}[bwlq]() or fb_memset(). The framebuffer I/O helpers pre-date Linux' current I/O code and will be replaced by regular I/O helpers. Prepare this change by adding an include statement for to all source files that use the framebuffer I/O helpers. They will still get declarations of the I/O functions even after has been cleaned up. Driver source files that already include convert to . Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/arkfb.c | 1 + drivers/video/fbdev/aty/mach64_cursor.c | 3 +-- drivers/video/fbdev/chipsfb.c | 1 + drivers/video/fbdev/cirrusfb.c | 1 + drivers/video/fbdev/core/cfbcopyarea.c | 2 +- drivers/video/fbdev/core/cfbfillrect.c | 2 ++ drivers/video/fbdev/core/cfbimgblt.c | 2 ++ drivers/video/fbdev/core/fbmem.c | 1 + drivers/video/fbdev/core/svgalib.c | 2 +- drivers/video/fbdev/hgafb.c | 2 +- drivers/video/fbdev/hitfb.c | 2 +- drivers/video/fbdev/kyro/fbdev.c | 2 +- drivers/video/fbdev/matrox/matroxfb_accel.c | 2 ++ drivers/video/fbdev/matrox/matroxfb_base.h | 2 +- drivers/video/fbdev/pm2fb.c | 1 + drivers/video/fbdev/pm3fb.c | 1 + drivers/video/fbdev/pvr2fb.c | 1 + drivers/video/fbdev/s3fb.c | 1 + drivers/video/fbdev/sstfb.c | 2 +- drivers/video/fbdev/tdfxfb.c | 2 +- drivers/video/fbdev/tridentfb.c | 1 + drivers/video/fbdev/vga16fb.c | 2 +- drivers/video/fbdev/vt8623fb.c | 1 + 23 files changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/video/fbdev/arkfb.c b/drivers/video/fbdev/arkfb.c index 60a96fdb5dd8..c254ab6fbb7d 100644 --- a/drivers/video/fbdev/arkfb.c +++ b/drivers/video/fbdev/arkfb.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include /* Why should fb driver call console functions? because console_lock() */ #include