Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp755874rwr; Wed, 26 Apr 2023 06:07:11 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXe0rjL4OUDVgq4McFyqOf+n1CU48mMdlQDuLmN+36A+1A0krsdpKmYlisK0BmMY9UZJU0 X-Received: by 2002:a05:6a20:8424:b0:ef:6c30:5798 with SMTP id c36-20020a056a20842400b000ef6c305798mr25832153pzd.27.1682514430650; Wed, 26 Apr 2023 06:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682514430; cv=none; d=google.com; s=arc-20160816; b=yHSVnk/dnYYP6sd9GRc4ku50BZAWQLlzu8clgcud5bC8ByT8eplKaZFvDMTfMDnyC8 f7Jz2JfvzS3gh+YZvQbVXSY0v9WAzlBEsKEcUMOry3wHLKjm4WZf+EhmHxAcefqANZAB a5Rz9wSRgrcv5Ww5LH4Ch/TrtPkxjAJnLfDJzc2KzL1zS+xPQTRZIiCHZcMPRkCqearx Zx7ocJnZ5+rRkoGlcPZAuEaH+Lx0mbtLVeicmuJB8UfJuI4xU/NHF9K+wEbd8VMtCOVt npk4ojraIxW2oTzsquuq/SZ7BF1OjxmeSCqOZiYTJkVua3XSAzVh1OQmJr6kKF9hny47 8/FQ== 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=+kvkaqNyd6RrmaozGXRJO3RkbPcuOGC7mjyUA2V8w4k=; b=A6UJnW+YTLsSr7pke3vSPYlzQmYA8IjzkF4ek57F8ZW5yPj3nCrx1kpU1Lj+/rz06m NRWa4iNnsjppyrmjqFAfUaqvAJb8TtmfAmElqAXBtXi+wyNEe9ilJnCOxxFxJnO7G0ib fSg4n9ZRZONcT6EZduizkpTvAUfyo6b0u+RWVy9gXPAqld4YHEJGCe7k1qmZisXpnhff pPZ2HnKAQFwN6byerFlvAIoKvnr+4bon/NsM618jmxuUCevWXwrPipWmRRA8suzJMhgh mvORKTK6TgQHmZuCpal9iX4HyNpH2/HLJGY3izhi4Yb+70gwKv9YPxCdtVTU31H8//1r lTNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MKegOP5w; dkim=neutral (no key) header.i=@suse.de header.b=sr0Dkjlz; 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 u11-20020a6540cb000000b0051ace49ded1si11435779pgp.886.2023.04.26.06.06.47; Wed, 26 Apr 2023 06:07:10 -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=MKegOP5w; dkim=neutral (no key) header.i=@suse.de header.b=sr0Dkjlz; 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 S241065AbjDZNEm (ORCPT + 99 others); Wed, 26 Apr 2023 09:04:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240993AbjDZNE2 (ORCPT ); Wed, 26 Apr 2023 09:04:28 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E0F044A1; Wed, 26 Apr 2023 06:04:26 -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-out2.suse.de (Postfix) with ESMTPS id 9850F1FDD0; Wed, 26 Apr 2023 13:04:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682514264; 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=+kvkaqNyd6RrmaozGXRJO3RkbPcuOGC7mjyUA2V8w4k=; b=MKegOP5wOoEC/6iuiX49egJofEPrPNf9mz/V0m8mAXwSuWccnQAwgAGrUoivIFrdqlqCgj fQy5Mn7yuYwM9+ZAy3i2DCFFk1JkBhKVwnaTZHLFd7rUVRcJHD5WkKv4TekdzUcEujAjs6 UXrfu7pjogeZb4IlIXBplyZemNkCYSc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682514264; 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=+kvkaqNyd6RrmaozGXRJO3RkbPcuOGC7mjyUA2V8w4k=; b=sr0DkjlzkeNi4Yci/BE182ICK6IxAR8K3uxY9gRnq5YVjuUjDTAq9jHN0KDkVClMxU1ReC bbG6dO0dn6maoyCg== 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 383D3138F0; Wed, 26 Apr 2023 13:04:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id SMLjDFghSWSBMgAAMHmgww (envelope-from ); Wed, 26 Apr 2023 13:04:24 +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 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 4/5] fbdev: Include via Date: Wed, 26 Apr 2023 15:04:19 +0200 Message-Id: <20230426130420.19942-5-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230426130420.19942-1-tzimmermann@suse.de> References: <20230426130420.19942-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 for I/O helper functions. From these declaratons, later defines framebuffer I/O helpers, such as fb_{read,write}[bwlq]() or fb_memset(). The framebuffer I/O helpers depend on the system architecture and will therefore be moved into . Prepare this change by first adding an include statement for to . Include in all source files that use the framebuffer I/O helpers, so that they still get the necessary I/O functions. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/arkfb.c | 2 ++ drivers/video/fbdev/aty/mach64_cursor.c | 2 +- drivers/video/fbdev/chipsfb.c | 1 + drivers/video/fbdev/cirrusfb.c | 2 ++ drivers/video/fbdev/core/cfbcopyarea.c | 2 +- drivers/video/fbdev/core/cfbfillrect.c | 1 + drivers/video/fbdev/core/cfbimgblt.c | 1 + drivers/video/fbdev/core/svgalib.c | 3 +-- drivers/video/fbdev/cyber2000fb.c | 2 ++ drivers/video/fbdev/ep93xx-fb.c | 2 ++ drivers/video/fbdev/hgafb.c | 3 ++- drivers/video/fbdev/hitfb.c | 2 +- drivers/video/fbdev/kyro/fbdev.c | 3 ++- drivers/video/fbdev/matrox/matroxfb_accel.c | 2 ++ drivers/video/fbdev/matrox/matroxfb_base.h | 2 +- drivers/video/fbdev/pm2fb.c | 3 +++ drivers/video/fbdev/pm3fb.c | 2 ++ drivers/video/fbdev/pvr2fb.c | 2 ++ drivers/video/fbdev/s3fb.c | 2 ++ drivers/video/fbdev/sm712fb.c | 2 ++ drivers/video/fbdev/sstfb.c | 2 +- drivers/video/fbdev/stifb.c | 2 ++ drivers/video/fbdev/tdfxfb.c | 3 ++- drivers/video/fbdev/tridentfb.c | 2 ++ drivers/video/fbdev/vga16fb.c | 3 ++- drivers/video/fbdev/vt8623fb.c | 2 ++ include/asm-generic/fb.h | 1 + 27 files changed, 45 insertions(+), 11 deletions(-) diff --git a/drivers/video/fbdev/arkfb.c b/drivers/video/fbdev/arkfb.c index 60a96fdb5dd8..fd38e8a073b8 100644 --- a/drivers/video/fbdev/arkfb.c +++ b/drivers/video/fbdev/arkfb.c @@ -27,6 +27,8 @@ #include /* Why should fb driver call console functions? because console_lock() */ #include