From nobody Mon Sep 29 21:25:14 2025 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 F0483C25B0D for ; Tue, 16 Aug 2022 04:49:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232835AbiHPEtz (ORCPT ); Tue, 16 Aug 2022 00:49:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232975AbiHPEqS (ORCPT ); Tue, 16 Aug 2022 00:46:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75436AF0F0; Mon, 15 Aug 2022 13:42:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1CC47611FA; Mon, 15 Aug 2022 20:42:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BAF8C433D6; Mon, 15 Aug 2022 20:42:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660596174; bh=XxIiT8pTJzg/vWNYPLPOEIUpZ1XotuWiTSsIPNK+rjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EZxvsEpWrgjJ4sSQnftAM5CWsjk2DJXUB63VTX4UJiGvmZlTryZ5WI63Lcv/QiKBv eb93mM4kzEDORLUDyDUUK1otPRFrMb6bMVdXedt1wYF6710g9Lexe9Pj3cHw1fMM16 PKJFBQ0pnvdJl67N4DciN+WG1j6VP//etjcL5VJI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christophe Leroy , Helge Deller , Michael Ellerman , Sasha Levin Subject: [PATCH 5.19 0996/1157] video: fbdev: offb: Include missing linux/platform_device.h Date: Mon, 15 Aug 2022 20:05:52 +0200 Message-Id: <20220815180519.584796400@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Christophe Leroy [ Upstream commit ebef8abc963b9e537c0a0d619dd8faf1b8f2b183 ] A lot of drivers were getting platform and of headers indirectly via headers like asm/pci.h or asm/prom.h Most of them were fixed during 5.19 cycle but a newissue was introduced by commit 52b1b46c39ae ("of: Create platform devices for OF framebuffers") Include missing platform_device.h to allow cleaning asm/pci.h Fixes: 52b1b46c39ae ("of: Create platform devices for OF framebuffers") Signed-off-by: Christophe Leroy Acked-by: Helge Deller Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/f75b383673663e27f6b57e50b4abfb9fe3780b00.16= 57264228.git.christophe.leroy@csgroup.eu Signed-off-by: Sasha Levin --- drivers/video/fbdev/offb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c index b1acb1ebebe9..91001990e351 100644 --- a/drivers/video/fbdev/offb.c +++ b/drivers/video/fbdev/offb.c @@ -26,6 +26,7 @@ #include #include #include +#include #include =20 #ifdef CONFIG_PPC32 --=20 2.35.1