From patchwork Wed Nov 15 21:02:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 165608 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2809802vqg; Wed, 15 Nov 2023 13:03:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6nJ0ifJgp8vsqAuDPSdkF4/9U4HkmevaHnPelxURCbf5uLTJ97X7NfxRil7hv4YclJ76W X-Received: by 2002:a17:902:a407:b0:1cc:3a8a:f19b with SMTP id p7-20020a170902a40700b001cc3a8af19bmr6063636plq.14.1700082234575; Wed, 15 Nov 2023 13:03:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700082234; cv=none; d=google.com; s=arc-20160816; b=kG/3IweIBouMMwMBSZ+M/7m4qL2aYKcPk7bAE8kfaiwmAyfAH2tXBFMGt1aRgIFQqA bOFHllMp3HZV+TAkofDw2lf4tyxrLtFZXkx/G8FcumSau0Ccn9v06i+uQuIBrMajOlXg ynTss7tM8nJsZRPdTVh611TMScZgEF9wya375P6ulU0VOhmdxph89DFMQk/WDcP+gq6B ci+CRzFQ4+Zist0GL3++X2F9tnWI16zMesnllZsm8IJD+MrZAoPoDEw2vNeDb4BtXRLz gOayqOiGJhNVSTP2hxFkjUDg4i4Hxz7WocrXmhZWUrrylT9+TiPYkSPXIASfSuczzibu wJYw== 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 :message-id:date:subject:cc:to:from; bh=xTi1+MQ4t5FTtGD8dbognkLQKmg8VuTrouDfFHJxxvg=; fh=FzXTu5G5K+fN6Dypl4BlqEXoPlHuyERsc8yUkzHvbc0=; b=LvUYacQYBhaFXB9ihpKL293wEAm1ZjQAVaB2OBiAs6k4Gxw6CR0jpcO+haw+AlSyOS FkFkc4+Qn5jplwBDqM6rRPA/RlggRRk11Y/phhaWZsSwrM/NBT916znVmFQr9JbEPFAD pZRZCSJ798LwyBWedBAccWhpdconpRYo7SdEyESsVe8zRNY0OLRXfUyBqz6f0OvRCWdL eAZZz6VrOYnfoQ0ozSMJ0QRfEAADPcTr8O2NDxj4791BOgqKneAxLYpomlxGsXR/PHHc 5gv4tdI9Ck8UJIjIcdvnDLtltT19Fi+gyRVaiqYfbywvAVZTwQIDFUwbM0prx921HEzt lxRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id u15-20020a170903124f00b001ce2fc160f3si6008504plh.110.2023.11.15.13.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:03:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C4F628041FCE; Wed, 15 Nov 2023 13:03:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344909AbjKOVDV (ORCPT + 29 others); Wed, 15 Nov 2023 16:03:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235624AbjKOVC7 (ORCPT ); Wed, 15 Nov 2023 16:02:59 -0500 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59FE11A7; Wed, 15 Nov 2023 13:02:44 -0800 (PST) Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6d33298f8fdso49178a34.1; Wed, 15 Nov 2023 13:02:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700082163; x=1700686963; 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=xTi1+MQ4t5FTtGD8dbognkLQKmg8VuTrouDfFHJxxvg=; b=mjoZqnDe8MUnwwGlpMZ99z59jIWVvqJ3k/eqr9rq7GXs8PB11z4PcmLsqN0NvzIsne yK2r1tDRWJ6Xs8He5UNVtEkPCd9zxah1u82aZaM2OYRfhKm9nQZttPXwIBxuKxmSxNhF 3f+Sb/RIb8JoY+P4Gvgscoac8YTB41OhKWFpSzWemIENByBkRlfjALCKNEFj01or8iFe NOZrEPGR86tN64mf8KzZbvGENwmW7sL8/AZguJTSQjIVRYmMzKh4daLTCM8g3je5BWYH JQ9RuwiG/+nye72CCQmZdxCNhuKnsPQyLrgbNBX+nPF1Ip06bwgQfgNxQsg0I70U1WAT 71MQ== X-Gm-Message-State: AOJu0Yxn69PJ57CkJdZG2lIScUgKVs7lZx+TVqLHZSeS4GzkYVSuUD// 1EoVqxAEuEhrCqKOF9A0POXiHO01gA== X-Received: by 2002:a05:6830:4414:b0:6ce:2789:7195 with SMTP id q20-20020a056830441400b006ce27897195mr7902852otv.31.1700082163575; Wed, 15 Nov 2023 13:02:43 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id s30-20020a056830439e00b006ce2e464a45sm693017otv.29.2023.11.15.13.02.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:02:42 -0800 (PST) Received: (nullmailer pid 3744532 invoked by uid 1000); Wed, 15 Nov 2023 21:02:42 -0000 From: Rob Herring To: Olivia Mackall , Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] hwrng: ingenic: Replace of_device.h with explicit of.h include Date: Wed, 15 Nov 2023 15:02:37 -0600 Message-ID: <20231115210238.3744406-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 13:03:50 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782665429281530237 X-GMAIL-MSGID: 1782665429281530237 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 and pull in various other headers. In preparation to fix this, adjust the includes for what is actually needed. of_device.h isn't needed, but of.h is and was implicitly included by it. Signed-off-by: Rob Herring --- drivers/char/hw_random/ingenic-rng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/ingenic-rng.c b/drivers/char/hw_random/ingenic-rng.c index 4f18c3fa5427..c74ded64fbe3 100644 --- a/drivers/char/hw_random/ingenic-rng.c +++ b/drivers/char/hw_random/ingenic-rng.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include