Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1835122rwr; Fri, 28 Apr 2023 02:28:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jAa911aPJtJDApT4i3gDOLk53Xk5N+mhCYolHiQTUIKF91QRFBE6dvDknLH2XX+GnELJ/ X-Received: by 2002:a05:6a20:734b:b0:ee:f064:9b00 with SMTP id v11-20020a056a20734b00b000eef0649b00mr5883258pzc.45.1682674089544; Fri, 28 Apr 2023 02:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682674089; cv=none; d=google.com; s=arc-20160816; b=DtwlC1KKlluL2vucYAp1oG7cUXTc575b657DVuMZQCcIHd9nLxy39nN2ddxNuNDQPn cJbMXjQaXfJlhhZjp7ml7QGrdfJNEe6j3razm3NtRr38UYNQ1jwa7vjuEw/oM5e8hzgU 2ehBb/DrvZ6WJspR3hqOz0/YgmTQtmWQt+nLB/okq3WolRZnGvNoisgCt7jeSStEdlh3 /AAGQkOolcrwlB4VswbcCPax7gelHJE1t+uazH1kD/ML/+OrRUU9z0Ocd2BZtXu+1Cei 5e37/kzhkTV3W1tYa+TgskxC6ivqk64iKziV1k2yijrhVki99TIe7NLcWt4HzSsTFFAq s1pw== 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=dttAvrB3jWpgJtm9agssOOqjg81G8y/0rvJLga4TX2Y=; b=GUTYznZo6duJIbDQeaTd7wonox0gJZcmkJDShTyt5OxlwQXOm+1rZN5pwkigO9BTyO G1Su8FVEeGgs/xGxY1iapW7y0THHySgkjQdpJ4OMChBkDoO9YzUZIZGy6pJRpvL2UeSM 5ybSqDBet5iaoW/Pln34UQaeoa8UmuHH3J2TlCzmxPgJ2UyUgq1WScDE+wvv+RHNorpr 3H9ZcYdJg3SwDW8re7q8FC7KypJzeF/ks4Gjw4KHEJmXR59MLff7bfry9pOlGQ6MI3ad a9U6UHgWCKTAy78x5JqEcoY/zAlKqJxWdHmFXUFK8YMx0nSYrzvy+M2/DRcQtZ1CWacN LflA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FwzEoVEM; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 n16-20020a63ee50000000b0051805159a1csi20543811pgk.476.2023.04.28.02.27.56; Fri, 28 Apr 2023 02:28:09 -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=FwzEoVEM; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S1345775AbjD1J1g (ORCPT + 99 others); Fri, 28 Apr 2023 05:27:36 -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 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 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