Devicetree
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Mason Huo <mason.huo@starfivetech.com>
Cc: Lee Jones <lee@kernel.org>, Corey Minyard <corey@minyard.net>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	mfd@lists.linux.dev, linux-kernel@vger.kernel.org,
	 devicetree@vger.kernel.org,
	openipmi-developer@lists.sourceforge.net
Subject: Re: [PATCH v2 2/3] mfd: Add StarFive JHB100 SuperIO driver
Date: Fri, 4 Dec 2026 09:30:20 +0100	[thread overview]
Message-ID: <axJ5xUOIotm8RR74@monoceros> (raw)
In-Reply-To: <20261204060623.2994008-3-mason.huo@starfivetech.com>

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

Hello,

On Fri, Dec 04, 2026 at 02:06:22PM +0800, Mason Huo wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>

Please don't include <linux/mod_devicetable.h> which introduces many
unneeded definitions and thus unneeded build dependencies.
<linux/platform_device.h> already gives you of_device_id, so you should
be set to just drop <linux/mod_devicetable.h>.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2026-12-04  8:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  6:06 [PATCH v2 0/3] Add StarFive JHB100 SuperIO and KCS BMC drivers Mason Huo
2026-12-04  6:06 ` [PATCH v2 1/3] dt-bindings: mfd: Add StarFive JHB100 SuperIO Mason Huo
2026-12-04  6:06 ` [PATCH v2 2/3] mfd: Add StarFive JHB100 SuperIO driver Mason Huo
2026-12-04  8:30   ` Uwe Kleine-König [this message]
2026-12-04  6:06 ` [PATCH v2 3/3] ipmi: Add StarFive KCS BMC driver Mason Huo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axJ5xUOIotm8RR74@monoceros \
    --to=u.kleine-koenig@baylibre.com \
    --cc=conor+dt@kernel.org \
    --cc=corey@minyard.net \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mason.huo@starfivetech.com \
    --cc=mfd@lists.linux.dev \
    --cc=openipmi-developer@lists.sourceforge.net \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox