Skip to contentSkip to conversation

2.4.10-ac10: more MODULE_LICENSE patches

PATCH In review Frank Davis 2 participants 2 messages Oct 10, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.10-ac10: more MODULE_LICENSE patches

Hello,
I have attached more MODULE_LICENSE patches against 2.4.10-ac10 .
major directories:
drivers/usb/
drivers/macintosh/
drivers/pcmcia/

Please review.
Regards,
Frank

usb/hub.c renamed from usb/hub.c.old +1 -1
@@ -856,7 +856,7 @@
 };
 
 MODULE_DEVICE_TABLE (usb, hub_id_table);
-
+MODULE_LICENSE("GPL");
 static struct usb_driver hub_driver = {
 	name:		"hub",
 	probe:		hub_probe,
usb/inode.c renamed from usb/inode.c.old +1 -0
@@ -767,4 +767,5 @@
 #if 0
 module_init(usbdevfs_init);
 module_exit(usbdevfs_cleanup);
+MODULE_LICENSE("GPL");
 #endif
macintosh/macserial.c renamed from macintosh/macserial.c.old +1 -0
@@ -2730,6 +2730,7 @@
 
 module_init(macserial_init);
 module_exit(macserial_cleanup);
+MODULE_LICENSE("GPL");
 
 #if 0
 /*
pcmcia/cistpl.c renamed from pcmcia/cistpl.c.old +2 -0
@@ -85,6 +85,8 @@
 
 INT_MODULE_PARM(cis_width,	0);		/* 16-bit CIS? */
 
+MODULE_LICENSE("GPL");
+
 /*======================================================================
 
     Low-level functions to read and write CIS memory.  I think the
pcmcia/hd64465_ss.c renamed from pcmcia/hd64465_ss.c.old +1 -0
@@ -1082,6 +1082,7 @@
 
 module_init(init_hs);
 module_exit(exit_hs);
+MODULE_LICENSE("GPL");
 
 /*============================================================*/
 /*END*/
macintosh/nvram.c renamed from macintosh/nvram.c.old +1 -0
@@ -124,3 +124,4 @@
 
 module_init(nvram_init);
 module_exit(nvram_cleanup);
+MODULE_LICENSE("GPL");
pcmcia/sa1100_generic.c renamed from pcmcia/sa1100_generic.c.old +1 -0
@@ -63,6 +63,7 @@
 
 MODULE_AUTHOR("John Dorsey <[email protected]>");
 MODULE_DESCRIPTION("Linux PCMCIA Card Services: SA-1100 Socket Controller");
+MODULE_LICENSE("GPL");
 
 /* This structure maintains housekeeping state for each socket, such
  * as the last known values of the card detect pins, or the Card Services
macintosh/rtc.c renamed from macintosh/rtc.c.old +2 -0
@@ -146,3 +146,5 @@
 
 module_init(rtc_init);
 module_exit(rtc_exit);
+MODULE_LICENSE("GPL");
+
pcmcia/rsrc_mgr.c renamed from pcmcia/rsrc_mgr.c.old +2 -0
@@ -67,6 +67,8 @@
 INT_MODULE_PARM(mem_limit,	0x10000);
 #endif
 
+MODULE_LICENSE("GPL");
+
 /*======================================================================
 
     The resource_map_t structures are used to track what resources are
pcmcia/pci_socket.c renamed from pcmcia/pci_socket.c.old +1 -0
@@ -266,3 +266,4 @@
 
 module_init(pci_socket_init);
 module_exit(pci_socket_exit);
+MODULE_LICENSE("GPL");
#1 lore raw

usb/hub.c line 862

Quoted 11 lines · Frank Davis
usb/hub.c renamed from usb/hub.c.old +1 -1
@@ -856,7 +856,7 @@
 };
 
 MODULE_DEVICE_TABLE (usb, hub_id_table);
-
+MODULE_LICENSE("GPL");
 static struct usb_driver hub_driver = {
 	name:		"hub",
 	probe:		hub_probe,

hub.c is not a module. Alan, please do not apply.

usb/inode.c line 771

Quoted 8 lines
usb/inode.c renamed from usb/inode.c.old +1 -0
@@ -767,4 +767,5 @@
 #if 0
 module_init(usbdevfs_init);
 module_exit(usbdevfs_cleanup);
+MODULE_LICENSE("GPL");
 #endif

inode.c is not a module either. Alan, please do not apply.

Both of these files are covered with the MODULE_LICENSE found in usb.c

thanks,

greg k-h