projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f487f
)
net: fill in MODULE_DESCRIPTION()s for cpsw-common
author
Breno Leitao
<leitao@debian.org>
Thu, 25 Jan 2024 19:34:16 +0000
(11:34 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 29 Jan 2024 12:12:51 +0000
(12:12 +0000)
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the TI CPSW switch module.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw-common.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/ti/cpsw-common.c
b/drivers/net/ethernet/ti/cpsw-common.c
index 26dc906eae90bfd10357ca629aa70000ffc0e005..57fe936bb1774a92aa0b03c3899a22ba3ec6133d 100644
(file)
--- a/
drivers/net/ethernet/ti/cpsw-common.c
+++ b/
drivers/net/ethernet/ti/cpsw-common.c
@@
-90,4
+90,5
@@
int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr)
}
EXPORT_SYMBOL_GPL(ti_cm_get_macid);
+MODULE_DESCRIPTION("TI CPSW Switch common module");
MODULE_LICENSE("GPL");