Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3272500rwb; Mon, 15 Aug 2022 22:55:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7m5b8AjRrgcNs4tNrCP/F9tUF0uJ3GAVwidV4kolc7uGnN5/l2ohwITz1R1DZTGCJH8W5M X-Received: by 2002:a05:6402:42c3:b0:43d:682f:c0ca with SMTP id i3-20020a05640242c300b0043d682fc0camr17453005edc.334.1660629344532; Mon, 15 Aug 2022 22:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660629344; cv=none; d=google.com; s=arc-20160816; b=l2iSW6zYJwW5mCUttY2/ZOg+xfkDE5cARwEK88YEkUHLZsxsG4XnMTP6JmyBXBLflD 8MZKtdESs8pDiPke12QY24RYEq3rhkS5fF+hQhenGMribEYrjOxD/QLblK7DYWOwVHQt hwsN/dX2SAMz4zc4LUJoZBLPvBGxGyeYJ6NkIWebPO04ECrAuV37ipO5m/RE1LUxvoAr xky3CWXPVouLSJ6oH6gs2zcB/v/fUXqLObIUboWqyF97iA+fPBdt4CNjY16LRLI0U6Tr v3A92jBRStR3K3E2LPt8ULGvDdoFlFF5n6WwuFdN+/nmO6aIjMGUPoxzkXM/KDlRlbJ0 BzFA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fBMUxYSmPJRx1bYOtyoJcpLACcXjvQ1kmGeVTwzolRo=; b=lZzKlq/5O6fqbGstsx5DMZlKDdW7mH7Ts84J0d3xPOy2Bokcn52lt4g3SV2phAmxZK G9EJsIHtpcfywpVjA7mbsCYwtFM+6AtQ5bHMGG1nkfw4DmRLRbJPS5AZ3bRsqCJXbDKN gQff8OjyOI1elrFCRJ0WCTBpQBuq5npj8Ry8kAB9Q954xZ0GpQ2/pvyWZwbM8kkjUguF tZcsSbRwLwpbs7ScwOIXm+e3vMTihzWQX6yj40G6v+JMFLvTYubLMbTujMZc8eBi2bFV 5hGtwJgt27t+8MICm577l4NigMmZ0y+EYCqTq5i43gNYIOoIj55/eVix06bxDIhTnO4A U5Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EZxvsEpW; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs16-20020a170906dc9000b0073023094027si9478718ejc.361.2022.08.15.22.55.19; Mon, 15 Aug 2022 22:55:44 -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=@linuxfoundation.org header.s=korg header.b=EZxvsEpW; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232934AbiHPEtx (ORCPT + 99 others); Tue, 16 Aug 2022 00:49:53 -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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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.1657264228.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 #ifdef CONFIG_PPC32 -- 2.35.1