Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6817123rwr; Tue, 2 May 2023 06:05:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TJGjvHTYiMgFiz4f47zTIPXeTPfhuLU2IQWqX4e5yczxyRlutQa7u7BoLBQdWhrCdxbdz X-Received: by 2002:a05:6a20:7d97:b0:f8:c1a:b2f6 with SMTP id v23-20020a056a207d9700b000f80c1ab2f6mr22999978pzj.49.1683032739789; Tue, 02 May 2023 06:05:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683032739; cv=none; d=google.com; s=arc-20160816; b=fWzP4o5tDHfQVnPruSleQswuOufVaPM6OREuky5WGkJDMZVsl8J8HV8hWPuyjHaJeX P+302ukvVTfR/2TeaheF5XguB5VKnAIouONpNgKFD7b8P4mxK82IN9fUIIZoVY22m31G +baBLcWTFHGk9L9n+GF3qeqWckd/YON40O2CB963pchQXO6ncA9oEO0ALlI9NAjz+78X FEM8U6NmesUZzbWdjis1wAjU7sGzFZpAeEsgSNmk3UQ8VitwQi7+vtAh4DoglVA0tiNN Sx7PeIwKwENY/0I14iYl92RfO0/6S/enqAzfpSBw/w4Q+MUBQ00vK3PuMt1KKcygoH1P F4gA== 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=h6kq3OyRQ9pgzZmJ23ahXTOGr7SsYN4Eh2vl2HKml1g=; b=yYz+1ZBq1zqJcFT50AoERu5N/6ACZpdpAbd4T0uFWqqKTmuef86VJJrca3gJsfXSZS 31l4HdlLvnqMhXC+0eZwOnz1Q1siX5QsucVzjmgfzBpkBuDqXiw/cBUZs2Eju2UOtdhR t6LI4xJj7DJer1TrrCD3qMQ/w8jP6LIJ9QPp4NkuKIm8+clRQFqIq6/90m+VfGsjAjsh LJKGeCtxlba0WijqjdIZh3+i2b/kF0F/jxisfoDaeg+zPjdjDscPMe/rxWjsYEkXZOfg xAfl560EgoLo7LN42MGIYqCg44JXYRaH+G3VDGQ3vgHYSf5dxEheusSKOrwS1PfnryXq A1vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=G9BpM2T1; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=1U5DAyse; 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-20020a6540cb000000b00517f0c53073si28429477pgp.885.2023.05.02.06.05.18; Tue, 02 May 2023 06:05:39 -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=G9BpM2T1; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=1U5DAyse; 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 S234335AbjEBNCs (ORCPT + 99 others); Tue, 2 May 2023 09:02:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234297AbjEBNCe (ORCPT ); Tue, 2 May 2023 09:02:34 -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 EB33861A8; Tue, 2 May 2023 06:02:28 -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 06D211F8BE; Tue, 2 May 2023 13:02:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683032547; 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=h6kq3OyRQ9pgzZmJ23ahXTOGr7SsYN4Eh2vl2HKml1g=; b=G9BpM2T1Ys/UhuirkBuAKZ73BHSOzRELPkPpCpD4+qTsaySfZPcMwy26FCK4ARx1tk4uW2 ZTMr6PYHLOTpMIqSBtZ7Poi4zg1XaCv58s5VQQtSQs2osjj04J/Mib7qiW8vqjmmk0wYao 7bOvRkd/37JeBJU5sQa5zIEyBkqMKpo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683032547; 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=h6kq3OyRQ9pgzZmJ23ahXTOGr7SsYN4Eh2vl2HKml1g=; b=1U5DAyseVohEGfTgif4+9wlGQ0H0TtFCqWRJU/YU1WswUffCwPx9wS14sLN4LEZIGdTph6 oEiBzdvz98CyOlBw== 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 9A890139D2; Tue, 2 May 2023 13:02:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yKQJJeIJUWRYTQAAMHmgww (envelope-from ); Tue, 02 May 2023 13:02:26 +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 v3 3/6] fbdev: Include in various drivers Date: Tue, 2 May 2023 15:02:20 +0200 Message-Id: <20230502130223.14719-4-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230502130223.14719-1-tzimmermann@suse.de> References: <20230502130223.14719-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 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 Reviewed-by: Sam Ravnborg --- 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.1