Skip to contentSkip to conversation

binder: remove MODULE_LICENSE()

PATCH In review Carlos Llamas 2 participants 2 messages Aug 17, 2025 – Aug 18, 2025 Android drivers

lore
Share & tools
lore

Carlos Llamas

author maintainer
#0 lore raw

PATCH 1/1 binder: remove MODULE_LICENSE()

The MODULE_LICENSE() macro is intended for drivers that can be built as loadable modules. The binder driver is always built-in, using this macro here is unnecessary and potentially confusing. Remove it.

Cc Salvatore Bonaccorso <[email protected]>
---
 drivers/android/binder.c | 2 --
 1 file changed, 2 deletions(-)
drivers/android/binder.c +0 -2
index 312b462e349d..28634f786e70 100644
@@ -7088,5 +7088,3 @@ device_initcall(binder_init);
 
 #define CREATE_TRACE_POINTS
 #include "binder_trace.h"
-
-MODULE_LICENSE("GPL v2");
Signature · 1 line
2.51.0.rc1.163.g2494970778-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Carlos Llamas

The MODULE_LICENSE() macro is intended for drivers that can be built as loadable modules. The binder driver is always built-in, using this macro here is unnecessary and potentially confusing. Remove it.

Cc Salvatore Bonaccorso <[email protected]>
---
  drivers/android/binder.c | 2 --
  1 file changed, 2 deletions(-)
drivers/android/binder.c +0 -0
index 312b462e349d..28634f786e70 100644

drivers/android/binder.c device_initcall(binder_init); · line 7092

Quoted 5 lines
drivers/android/binder.c +0 -2
@@ -7088,5 +7088,3 @@ device_initcall(binder_init);
 
  #define CREATE_TRACE_POINTS
  #include "binder_trace.h"
-
-MODULE_LICENSE("GPL v2");
Signature · 1 line
Tiffany Y. Yang