diff mbox series

media: media-entity.h: fix Excess kernel-doc description warnings

Message ID 20231223050707.14091-1-rdunlap@infradead.org
State Accepted
Commit 999eb5f8107a8a1e5ff003ffca2e75dcbc30f7a7
Headers show
Series media: media-entity.h: fix Excess kernel-doc description warnings | expand

Commit Message

Randy Dunlap Dec. 23, 2023, 5:07 a.m. UTC
Remove the @major: and @minor: lines to prevent the kernel-doc warnings:

include/media/media-entity.h:376: warning: Excess struct member 'major' description in 'media_entity'
include/media/media-entity.h:376: warning: Excess struct member 'minor' description in 'media_entity'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org
---
 include/media/media-entity.h |    4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff -- a/include/media/media-entity.h b/include/media/media-entity.h
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -337,10 +337,6 @@  enum media_entity_type {
  * @info.dev:	Contains device major and minor info.
  * @info.dev.major: device node major, if the device is a devnode.
  * @info.dev.minor: device node minor, if the device is a devnode.
- * @major:	Devnode major number (zero if not applicable). Kept just
- *		for backward compatibility.
- * @minor:	Devnode minor number (zero if not applicable). Kept just
- *		for backward compatibility.
  *
  * .. note::
  *