diff mbox series

[2/2] HID: intel-ish-hid: add MODULE_DESCRIPTION()

Message ID 20240525-kd-ishtp_wait_resume-v1-2-fec87a6f7916@quicinc.com (mailing list archive)
State Mainlined
Commit 8bb9f9fa59ef9034d081e89978c5c1031fc850bd
Delegated to: Jiri Kosina
Headers show
Series HID: intel-ish-hid: fix some 'make W=1' warnings | expand

Commit Message

Jeff Johnson May 25, 2024, 3:17 p.m. UTC
Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hid/intel-ish-hid/intel-ishtp.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/hid/intel-ish-hid/ishtp/bus.c | 1 +
 1 file changed, 1 insertion(+)

Comments

srinivas pandruvada June 3, 2024, 8:43 a.m. UTC | #1
On Sat, 2024-05-25 at 08:17 -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hid/intel-
> ish-hid/intel-ishtp.o
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>

> ---
>  drivers/hid/intel-ish-hid/ishtp/bus.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hid/intel-ish-hid/ishtp/bus.c
> b/drivers/hid/intel-ish-hid/ishtp/bus.c
> index f3042c4b8710..cc76b295b632 100644
> --- a/drivers/hid/intel-ish-hid/ishtp/bus.c
> +++ b/drivers/hid/intel-ish-hid/ishtp/bus.c
> @@ -932,4 +932,5 @@ static void __exit ishtp_bus_unregister(void)
>  module_init(ishtp_bus_register);
>  module_exit(ishtp_bus_unregister);
>  
> +MODULE_DESCRIPTION("ISHTP bus driver");
>  MODULE_LICENSE("GPL");
>
diff mbox series

Patch

diff --git a/drivers/hid/intel-ish-hid/ishtp/bus.c b/drivers/hid/intel-ish-hid/ishtp/bus.c
index f3042c4b8710..cc76b295b632 100644
--- a/drivers/hid/intel-ish-hid/ishtp/bus.c
+++ b/drivers/hid/intel-ish-hid/ishtp/bus.c
@@ -932,4 +932,5 @@  static void __exit ishtp_bus_unregister(void)
 module_init(ishtp_bus_register);
 module_exit(ishtp_bus_unregister);
 
+MODULE_DESCRIPTION("ISHTP bus driver");
 MODULE_LICENSE("GPL");