Re: [PATCH] binder: remove MODULE_LICENSE()

From: Tiffany Yang
Date: Mon Aug 18 2025 - 16:37:15 EST


Carlos Llamas <cmllamas@xxxxxxxxxx> writes:

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 <carnil@xxxxxxxxxx>
Signed-off-by: Carlos Llamas <cmllamas@xxxxxxxxxx>
---
drivers/android/binder.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 312b462e349d..28634f786e70 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -7088,5 +7088,3 @@ device_initcall(binder_init);

#define CREATE_TRACE_POINTS
#include "binder_trace.h"
-
-MODULE_LICENSE("GPL v2");

Reviewed-by: Tiffany Yang <ynaffit@xxxxxxxxxx>

--
Tiffany Y. Yang