]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: serial: Include <linux/usb.h> in <linux/usb/serial.h>
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 30 Jun 2026 09:24:24 +0000 (11:24 +0200)
committerUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Fri, 3 Jul 2026 05:38:14 +0000 (07:38 +0200)
commitb14f81978d7ab6f28381f7cc0be7e65f244a083b
tree9253c0fd60f2571d9a6869c88297e6d1b8049bd2
parent00cd8fc630e06e15a46200ce941d7fe98fea1e9d
usb: serial: Include <linux/usb.h> in <linux/usb/serial.h>

All consumers of the latter also include the former, but without that
struct usb_driver and struct usb_device_id (and maybe more) are not
defined. Add an include for <linux/usb.h> to make the header
self-contained.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/82219ab65d16ee5bfe5a35d11bc938baac3fd3bc.1782808461.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
include/linux/usb/serial.h