The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
To: Hans Verkuil <hverkuil+cisco@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	 linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	Danilo Krummrich <dakr@kernel.org>,
	 Takashi Sakamoto <o-takashi@sakamocchi.jp>
Subject: Re: [PATCH v4 14/17] media: em28xx: Add include for struct usb_device_id
Date: Wed, 29 Jul 2026 14:26:44 +0200	[thread overview]
Message-ID: <amnxROxWbigw_i7S@monoceros> (raw)
In-Reply-To: <68d1c273-bbca-49cc-a7f2-7fd6e868fbf4@kernel.org>

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

Hello,

On Mon, Jul 27, 2026 at 12:14:51PM +0200, Hans Verkuil wrote:
> On 30/06/2026 11:24, Uwe Kleine-König (The Capable Hub) wrote:
> > Traditionally <linux/mod_devicetable.h> was a header defining a plethora
> > of structs, among them struct usb_device_id. This was split now with the
> > objective that only the relevant bits are included.
> > 
> > Currently <linux/mod_devicetable.h> is transitively included in
> > drivers/media/usb/em28xx/em28xx.h via:
> > 
> > 	drivers/media/usb/em28xx/em28xx.h ->
> > 	<linux/i2c.h> ->
> > 	<linux/acpi.h> ->
> > 	<linux/device.h> ->
> > 	<linux/device/driver.h> ->
> > 	<linux/mod_devicetable.h
> > 
> > To keep struct usb_device_id available once <linux/device/driver.h>
> > stops including <linux/mod_devicetable.h>, include it the header
> > providing that struct explictly.
> > 
> > Acked-by: Danilo Krummrich <dakr@kernel.org>
> > Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> > Link: https://patch.msgid.link/b859817d9f6ec7450302a231e093a5ad5852cb91.1782682124.git.ukleinek@kernel.org
> > Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
> 
> Acked-by: Hans Verkuil <hverkuil+cisco@kernel.org>

Note you're late to the party. This patch already became commit
c19f08f796cb ("media: em28xx: Add include for struct usb_device_id") and
is part of v7.2-rc2.

Best regards
Uwe

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

  reply	other threads:[~2026-07-29 12:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30  9:24 [PATCH v4 00/17] mod_devicetable.h: Split into per subsystem headers Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 01/17] " Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 02/17] media: ti: vpe: #include <linux/platform_device.h> explicitly Uwe Kleine-König (The Capable Hub)
2026-07-27 10:14   ` Hans Verkuil
2026-06-30  9:24 ` [PATCH v4 03/17] driver: core: Include headers for acpi_device_id and of_device_id for struct device_driver Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 04/17] driver core: platform: Include header for struct platform_device_id Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 05/17] usb: serial: Include <linux/usb.h> in <linux/usb/serial.h> Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 06/17] platform/x86: msi-ec: Ensure dmi_system_id is defined Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 07/17] of: Explicitly include <linux/types.h> and <linux/err.h> Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 08/17] i2c: Let i2c-core.h include <linux/i2c.h> Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 09/17] platform/x86: x86-android-tablets: Add include defining struct dmi_system_id Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 10/17] platform/x86: int3472: " Uwe Kleine-König (The Capable Hub)
2026-06-30  9:30   ` Sakari Ailus
2026-06-30  9:24 ` [PATCH v4 11/17] usb: dwc2: Add include defining struct pci_device_id Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 12/17] ALSA: hda/core: Add include defining struct hda_device_id Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 13/17] LoongArch: KVM: Add include defining struct cpu_feature Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 14/17] media: em28xx: Add include for struct usb_device_id Uwe Kleine-König (The Capable Hub)
2026-07-27 10:14   ` Hans Verkuil
2026-07-29 12:26     ` Uwe Kleine-König (The Capable Hub) [this message]
2026-06-30  9:24 ` [PATCH v4 15/17] parisc: #include <linux/compiler.h> for unlikely() in <asm/ptrace.h> Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 16/17] Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (headers) Uwe Kleine-König (The Capable Hub)
2026-06-30  9:24 ` [PATCH v4 17/17] Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) Uwe Kleine-König (The Capable Hub)

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=amnxROxWbigw_i7S@monoceros \
    --to=u.kleine-koenig@baylibre.com \
    --cc=dakr@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hverkuil+cisco@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=o-takashi@sakamocchi.jp \
    --cc=torvalds@linux-foundation.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