From patchwork Wed Oct 25 16:20:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 158179 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6359:6b8b:b0:164:83eb:24d7 with SMTP id ta11csp2776439rwb; Wed, 25 Oct 2023 09:21:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFAgVnAe0MD6cZuo3UlT+DeMEBzGnzzshvThYLY5XEXQlPKMMToONftbniLppo484m3y+D2 X-Received: by 2002:a25:11c5:0:b0:da0:454d:cf57 with SMTP id 188-20020a2511c5000000b00da0454dcf57mr181087ybr.16.1698250863779; Wed, 25 Oct 2023 09:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698250863; cv=none; d=google.com; s=arc-20160816; b=WO4cUm3ncixF1B5eDFLoqyelUzFJoCDnqy2h9a8ZLFfp2SMgVi+0JhQbFWbeG8tpxq dIwOPmOCFft/A1d3F2b+hESPYD2828o3qWvus1V8Om62d2tohAtBMpd8UNOLOnvdenMm r0jVukcwd01NsM0TgC+WUE6jo+0F76uMNvv3FqTapb8viUyWiDcP+DO/zP4P8x7sH76p GCSSF37OAjxDgOSYWMKEffYlGtnYuoi5upCfgQ6dONOV3avq9Ac7W3dYCcv/BcxIE/w4 p2yFKe2B59toudnvRXZFLCmy3lEa0kuzcV0HY5e8kDPx4hTnuRAv445GrdXjuS+GiYdv 7dzA== 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=EruM0maTrG1dSfRWCv3yRAF0uV5tljGKOaM/F9WKJhERHXA311TwEMcL13TKKZqOv+ XeAJ0rzwOWBOeGta9vHOLcEEhXnj4QZU0dnCpfKpmhXLKJNv9zK4KkqEsSHiESOakMq9 nuFxw5DzI4S2T3svoiBkm7Yaas6QMbLZ5wzWIQh+z1/XeWVz8dqzeauDUHhj+Y3BHFUH hbNyO72VrZJ/tIUYFIJr4wSXHMrwTCGqcS1DC2ms+f69N5lw9TLcvZyafIjVtBZgrkkn C3/A/WXcTRVs/Bq9vydp47HxDRTdAFm3bhhR3CCX0873CO1WZWHl0nOeyiG0ogBWYEQb Z6WA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id s64-20020a25aa46000000b00da04d3c074fsi4262433ybi.648.2023.10.25.09.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 09:21:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 630CC80608FB; Wed, 25 Oct 2023 09:21:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233033AbjJYQUs (ORCPT + 26 others); Wed, 25 Oct 2023 12:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232800AbjJYQUq (ORCPT ); Wed, 25 Oct 2023 12:20:46 -0400 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7651C123; Wed, 25 Oct 2023 09:20:44 -0700 (PDT) Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3b2e07e5f3aso532125b6e.0; Wed, 25 Oct 2023 09:20:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698250844; x=1698855644; 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=jmHODSsUnCilpbO9SSx7d1k1sV7YWM5i+bpzgTEFOksiEKk0+cIZ8nV9+qeojJIL18 fkoXvA/36oTO8Ug7SvSOmrMhXZ53Rc2vhUTIRX+lV+pkQb+F6uw+tAAlTLZ0FY1gWuGt PoRmCzkBBkTeiyCbQYiJPNU4730leGJFrwxMp14I0nxjpCJW0Tnu5EZzm5MMTmWR0UfE U/I+8AYiqRsuB5p5H9h8Rk6p40/N8X3K2Gw3X2BnrwFGNSDIAF0+D5eEeipxfvh6U3Ou q0uM1CuFXmDVB2YrxAaQ36LsD03AIyd3504l2jb20oTT9VrluJfdrpyPEbPM49BzXYCb mvKA== X-Gm-Message-State: AOJu0YyzHTK+4GskYmtr6L+ufD3xudS8rr9DIZyRtCg3nJyIS+qx3NF4 deYN3u0+wPcOn5e2z2LeAQ== X-Received: by 2002:a54:4710:0:b0:3ad:fa4b:4875 with SMTP id k16-20020a544710000000b003adfa4b4875mr83648oik.11.1698250843735; Wed, 25 Oct 2023 09:20:43 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id l17-20020a05683016d100b006cd093a0ea0sm2283200otr.5.2023.10.25.09.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 09:20:43 -0700 (PDT) Received: (nullmailer pid 380335 invoked by uid 1000); Wed, 25 Oct 2023 16:20:42 -0000 From: Rob Herring To: Olivia Mackall , Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hwrng: ingenic: Replace of_device.h with explicit of.h include Date: Wed, 25 Oct 2023 11:20:34 -0500 Message-ID: <20231025162034.380152-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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 09:21:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780745097712304110 X-GMAIL-MSGID: 1780745097712304110 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