From patchwork Fri Jul 14 17:50:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13313986 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4962AEB64DC for ; Fri, 14 Jul 2023 17:51:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E2D310E8C8; Fri, 14 Jul 2023 17:51:13 +0000 (UTC) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7141310E8C8 for ; Fri, 14 Jul 2023 17:51:11 +0000 (UTC) Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-78374596182so89012139f.0 for ; Fri, 14 Jul 2023 10:51:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357070; x=1691949070; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KLv94wsoBBZ7d+EdEhh5zJTvgGpi6n9qD3d4Savs9Jc=; b=cOWWcC366fLq4ggq1CsZRLuz64m6FU4G5fomsdlpuf6z9orpmNmRAVaGJ7P/4T59LM YpX6258+uwaOY12ATeBcFNHdAK+GC2g8k4gr8nyWu3u9uFWYjNfYyacaxC0AcBOlVa7d axdSVR5ET2+F/9u94TZ/3wpcMX72qcxGAZJUbGuymn+xnm7dbQpm4SfmyRflYFZZNhw8 1VsZBiVisUgXR2EBgBStRyNeaEI40VB8kdDUtwPrKiCTGjkZutRI2oSr7bI8JGGc6vUW uI+wlofwilhVB9iyU2ExcNgKfte4vxUJdwFJBdFNjRqnOCiK/0xI9tg4passgr3ytfuF DbjQ== X-Gm-Message-State: ABy/qLaDeK9Jpwfeo7uy0iP77uKbB7VnRzWjLc7tjc2DQShf9dAJB4lv BRmNOtBkbVEDepgBRQ0xyqFoRxAsvLxV X-Google-Smtp-Source: APBJJlFNjy6HiNBGMn5U6dVY8e4F68GquR67qkJulZVMMhQwviKf2K65FuVhbV+ByBj4XJAhRwBYSg== X-Received: by 2002:a6b:3113:0:b0:787:129a:1e6c with SMTP id j19-20020a6b3113000000b00787129a1e6cmr5413859ioa.4.1689357070351; Fri, 14 Jul 2023 10:51:10 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id i12-20020a02c60c000000b0042b00378ec9sm2659829jan.34.2023.07.14.10.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:51:09 -0700 (PDT) Received: (nullmailer pid 4065465 invoked by uid 1000); Fri, 14 Jul 2023 17:50:34 -0000 From: Rob Herring To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller Subject: [PATCH] backlight: qcom-wled: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:50:29 -0600 Message-Id: <20230714175029.4065326-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring --- drivers/video/backlight/qcom-wled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index c6996aa288e6..10129095a4c1 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -9,8 +9,8 @@ #include #include #include -#include #include +#include #include /* From DT binding */