diff mbox series

[jammy,xilinx-zynqmp,2/2] UBUNTU: modpost: Add staging flag to drivers in ubuntu/staging

Message ID 20230918034857.3157366-3-portia.stephens@canonical.com
State New
Headers show
Series Move experimental drivers into ubuntu/staging | expand

Commit Message

Portia Stephens Sept. 18, 2023, 3:48 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2036370 (Move experimental ubuntu drivers to staging)

This adds a staging flag for any drivers in ubuntu/staging.

Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
---
 scripts/mod/modpost.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 3ac2f0232946..d9639bf45b05 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -2252,6 +2252,8 @@  static void add_staging_flag(struct buffer *b, const char *name)
 {
 	if (strstarts(name, "drivers/staging"))
 		buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n");
+	if (strstarts(name, "ubuntu/staging"))
+		buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n");
 }
 
 /**