From patchwork Tue Apr 2 02:59:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Portia Stephens X-Patchwork-Id: 1918622 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V7szx1b3Qz1yYB for ; Tue, 2 Apr 2024 13:59:41 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rrUN3-0007AG-Fu; Tue, 02 Apr 2024 02:59:33 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rrUN1-000771-Hh for kernel-team@lists.ubuntu.com; Tue, 02 Apr 2024 02:59:31 +0000 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 928DC3F274 for ; Tue, 2 Apr 2024 02:59:30 +0000 (UTC) Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-3c3c73e89fdso4704529b6e.0 for ; Mon, 01 Apr 2024 19:59:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712026768; x=1712631568; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S77M2yOrfk8Fhh+GpQNFr1gg0jc+xFkrLsRqnW+feks=; b=iBU1Mf3bOy9EzkJks5O4W3WeexAEZrRtwK7zRsfv55EcFuDA9SRqw7lvlFfe8WFPVS 0uYmYutDzwbvL3EDzU+EHyogyzjsS5cLyf59p/V25CjK3QZZNqQBUead0ZGLnUbrNqh2 OydnjnpobZOZTy2k/xbapdzr6bs6qMwO0v263A84lutMBegwJKwy845lEEu4KoGOPhzP 1SXS+AnYkoS+SVYQafq5Jc42WmxA0tSSaqlQxdO5OjE99qs2EU5XWG0Q97nojJPSL59c z+Dys4Nou/w8JUP6RrNeac+C7YVwBSb9COOFpsw5svoCTKjbM3WI3LyviYArCUWz9Siy gLlA== X-Gm-Message-State: AOJu0Yy8zT/JR3WR69EjCpao/8j12xpnc7H7fHpsu+4SdWdKumkVJ/NG nKWrP5/vuNSY3+cYP/V5SdBIHfYvZk6Y8oBHVpceNYPqq5SeM97LksMzTFJ90MYbLhwxumuYTvI A3bq7HmjDGOwHkL+efAOLlmrJwp0TPSmx/fDWf9G03oibrPX+AZ9TpVM/9CVBWCknoVD4GGkPd4 rCXALQJ3f2CA== X-Received: by 2002:a05:6808:1b08:b0:3c4:de1f:2825 with SMTP id bx8-20020a0568081b0800b003c4de1f2825mr8872884oib.6.1712026768329; Mon, 01 Apr 2024 19:59:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHj8yP7BRlut9ChEs6jiU6u/7DMKhFwNSCvPAgCX0896DeC5ueLtVE+huIt1aPMBjClfEYIPA== X-Received: by 2002:a05:6808:1b08:b0:3c4:de1f:2825 with SMTP id bx8-20020a0568081b0800b003c4de1f2825mr8872879oib.6.1712026767930; Mon, 01 Apr 2024 19:59:27 -0700 (PDT) Received: from localhost ([159.196.41.205]) by smtp.gmail.com with ESMTPSA id r12-20020a63d90c000000b005d8b89bbf20sm8469949pgg.63.2024.04.01.19.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 19:59:27 -0700 (PDT) From: Portia Stephens To: kernel-team@lists.ubuntu.com Subject: [SRU] [jammy:linux-xilinx-zynqmp 3/4] w1: amd_axi_w1: Explicitly include correct DT includes Date: Tue, 2 Apr 2024 12:59:10 +1000 Message-Id: <20240402025911.2415733-4-portia.stephens@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402025911.2415733-1-portia.stephens@canonical.com> References: <20240402025911.2415733-1-portia.stephens@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Rob Herring BugLink: https://bugs.launchpad.net/bugs/2058707 The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was 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 Link: https://lore.kernel.org/r/20231207163318.2727816-1-robh@kernel.org Signed-off-by: Krzysztof Kozlowski (cherry picked from commit efc19c44aa442197ddcbb157c6ca54a56eba8c4e) Signed-off-by: Portia Stephens --- drivers/w1/masters/amd_axi_w1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/w1/masters/amd_axi_w1.c b/drivers/w1/masters/amd_axi_w1.c index 24a05c2de5f1..4d3a68ca9263 100644 --- a/drivers/w1/masters/amd_axi_w1.c +++ b/drivers/w1/masters/amd_axi_w1.c @@ -12,8 +12,9 @@ #include #include #include +#include #include -#include +#include #include #include