Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30310518rwd; Thu, 6 Jul 2023 04:12:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlFw/6fgh+hp9DFqptvjto8LGZdVHYl+8suuVoxvB/L/vhdyPYGRpEZxZj8zRkD0qoh0DAY0 X-Received: by 2002:a17:903:441:b0:1b8:b26f:a6ac with SMTP id iw1-20020a170903044100b001b8b26fa6acmr1340476plb.5.1688641936153; Thu, 06 Jul 2023 04:12:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688641936; cv=none; d=google.com; s=arc-20160816; b=BO60BjAj7XX88NMlgbwb0GO95SffbkbL9lOY+AgyZ/l23B8O8AcbdY0SNVOjiv7jiQ 7i76BDFjSchsiB8g9vYyjmmnw77HBHNZ7r/exTy+QxvCb1XOSaoD3L+RCj0w0cLn0vqH 0/dYVXRcxU83kcrEMglY6TXDFr+G/EuqiReQoLzVUhCgClGSdWxDRkQAZfHxnqpJbweL PVxmXO79vjneymQM+bJsQesikWpeqUsfQcaxJTqIH8fxZZMhtXAR1OO+gXbIweO4fdfm Poq8wICsMOqPJXpur1ZuHJTvST81/7zA+E70TJl29aRyW70rdH7YMaOFLf5k8SclPHHp RS/g== 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=xwwhn8JX/jaC7vprMJX0+rkxovL4+/4Sgyu5JA1iVnM=; fh=EchjRNzqUIAVfyg3CKSIYOVw9uqNuitG7SjWWw5kvbU=; b=INmQqie/MwJ8y/m7MDS7ldN1oxgBa+QEou1PjEdGv/hvbOL5hmce2MnGX8zEsCjizR RpyDaTTqCZvgFNBTYtiTcgU7WDDk15KRpfP9qP5y5IsrDq5n6ydtZwM2EzPrEAtsc9R6 i02CIaFZPq6Qh265NdM9HZ0lH3FNwT5fRzjdPrVfsOO+LaHQYJboWkGyV02nZscva0kY ufp8mrHTT9ioJIJaSWxQFmb5XHk574tANeB7HM/lQMhwXF4rbcNnxJheazA4iH4qfYGJ SL4MwJ8b1MIFWawJ46yHPZn92nMiZcRrTxxx3FJYuKsckaA+nn4khMk9zOIbpbJ6O5dS hKDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=0SL+mut3; 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 u15-20020a170903124f00b001b1bf4c8688si1158233plh.231.2023.07.06.04.12.03; Thu, 06 Jul 2023 04:12:16 -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=0SL+mut3; 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 S232095AbjGFKtJ (ORCPT + 99 others); Thu, 6 Jul 2023 06:49:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbjGFKs7 (ORCPT ); Thu, 6 Jul 2023 06:48:59 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 782741BD0; Thu, 6 Jul 2023 03:48:56 -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 83488204EB; Thu, 6 Jul 2023 10:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688640535; 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=xwwhn8JX/jaC7vprMJX0+rkxovL4+/4Sgyu5JA1iVnM=; b=0SL+mut39oD7upwmekC2cod5inLkF+A7wEKXL/i570Bc/EYE6SZSzIvC6lUDZ7XDs3cBPA E0iwHyZ/LV7xrlAbjP1iUe5gSdC2wrHdGMiYiOihAOxX2i1fFvJqA5vgUtE8m0aBKv5v4V t+4ye0+mlbONYj4OUIGNS0c8lbYJToM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688640535; 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=xwwhn8JX/jaC7vprMJX0+rkxovL4+/4Sgyu5JA1iVnM=; b=7bw7LXsdPK85ac+mMiOd0w5qarJyfZcL2cVBdd1EY/68L8JhY6THwbQLqkQugdZMOcI/eU 2yfPqnbQo59xlpBg== 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 47CD41390F; Thu, 6 Jul 2023 10:48:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id SBGqEBecpmSDAQAAMHmgww (envelope-from ); Thu, 06 Jul 2023 10:48:55 +0000 From: Thomas Zimmermann To: javierm@redhat.com, suijingfeng@loongson.cn, arnd@arndb.de Cc: linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Ard Biesheuvel , Hans de Goede Subject: [PATCH v2 3/4] sysfb: Do not include from sysfb header Date: Thu, 6 Jul 2023 12:42:16 +0200 Message-ID: <20230706104852.27451-4-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230706104852.27451-1-tzimmermann@suse.de> References: <20230706104852.27451-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=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 The header file does not need anything from . Declare struct screen_info and remove the include statements. Signed-off-by: Thomas Zimmermann Reviewed-by: Javier Martinez Canillas Reviewed-by: Sui Jingfeng Cc: Ard Biesheuvel Cc: Hans de Goede Cc: Javier Martinez Canillas --- include/linux/sysfb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/sysfb.h b/include/linux/sysfb.h index c1ef5fc60a3c..19cb803dd5ec 100644 --- a/include/linux/sysfb.h +++ b/include/linux/sysfb.h @@ -9,7 +9,8 @@ #include #include -#include + +struct screen_info; enum { M_I17, /* 17-Inch iMac */ -- 2.41.0