Moving MODULE_LICENSE();
Subsystems (2)
PATCH 1/1 Moving MODULE_LICENSE();
Hey guys,
My first kernel patch. Hope I didn't miss one. Please CC me on any replies, I'm subscribed at work, not home.
Thanks,
Fry.
Signature · 1 line
PGP Public Key: http://members.optushome.com.au/fryboy/fryboy.pub
drivers/video/amifb.c renamed from drivers/video-old/amifb.c +2 -1
@@ -3812,7 +3812,6 @@#ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -3826,3 +3825,5 @@ amifb_video_off(); }#endif /* MODULE */ + +MODULE_LICENSE ("GPL" );
drivers/video/atafb.c renamed from drivers/video-old/atafb.c +2 -1
@@ -3091,7 +3091,6 @@ }#ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -3107,3 +3106,5 @@ /* TODO: further clean up ... */ }#endif /* MODULE */ + +MODULE_LICENSE ("GPL" );
drivers/video/controlfb.c renamed from drivers/video-old/controlfb.c +2 -1
@@ -183,7 +183,6 @@/******************** The functions for controlfb_ops ********************/ #ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -202,6 +201,8 @@ }#endif +MODULE_LICENSE ("GPL" ); +/* * Checks a var structure */
drivers/video/cyberfb.c renamed from drivers/video-old/cyberfb.c +2 -1
@@ -1200,7 +1200,6 @@#ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -1216,6 +1215,8 @@ }#endif /* MODULE */ +MODULE_LICENSE ("GPL" ); +/* * * Low level initialization routines for the CyberVision64 graphics card
drivers/video/imsttfb.c renamed from drivers/video-old/imsttfb.c +4 -1
@@ -1607,8 +1607,11 @@ }#ifdef MODULE -MODULE_LICENSE ("GPL" );module_init (imsttfb_init);#endif + +module_init (imsttfb_init);module_exit (imsttfb_exit); +MODULE_LICENSE ("GPL" ); +
drivers/video/maxinefb.c renamed from drivers/video-old/maxinefb.c +1 -1
@@ -174,8 +174,8 @@ }#ifdef MODULE -MODULE_LICENSE ("GPL" );module_init (maxinefb_init);#endif module_exit (maxinefb_exit); +MODULE_LICENSE ("GPL" );
drivers/video/pm2fb.c renamed from drivers/video-old/pm2fb.c +2 -2
@@ -2402,8 +2402,6 @@#ifdef MODULE -MODULE_LICENSE ("GPL" ); -static char *mode =NULL ;MODULE_PARM (mode,"s" );
@@ -2421,6 +2419,8 @@ }#endif /* MODULE */ +MODULE_LICENSE ("GPL" ); +/*************************************************************************** * That's all folks! ***************************************************************************/
drivers/video/retz3fb.c renamed from drivers/video-old/retz3fb.c +1 -1
@@ -1485,7 +1485,6 @@#ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -1503,6 +1502,7 @@ }#endif +MODULE_LICENSE ("GPL" );/* * Text console acceleration
drivers/video/sgivwfb.c renamed from drivers/video-old/sgivwfb.c +2 -1
@@ -819,7 +819,6 @@ }#ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -836,3 +835,5 @@ }#endif /* MODULE */ + +MODULE_LICENSE ("GPL" );
drivers/video/vga16fb.c renamed from drivers/video-old/vga16fb.c +2 -1
@@ -1416,12 +1416,13 @@ }#ifdef MODULE -MODULE_LICENSE ("GPL" );module_init (vga16fb_init);#endif module_exit (vga16fb_exit); +MODULE_LICENSE ("GPL" ); +/* * Overrides for Emacs so that we follow Linus's tabbing style. * ---------------------------------------------------------------------------
drivers/video/virgefb.c renamed from drivers/video-old/virgefb.c +2 -1
@@ -2058,7 +2058,6 @@#endif #ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
@@ -2074,6 +2073,8 @@ }#endif /* MODULE */ +MODULE_LICENSE ("GPL" ); +static int cv3d_has_4mb (void ) {/* cyberfb version didn't work, neither does this (not reliably)
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 1 line · Fry
My first kernel patch. Hope I didn't miss one.
consider to send in one patch / file
Quoted 11 lines
drivers/video/amifb.c renamed from drivers/video-old/amifb.c +0
-1@@ -3812,7 +3812,6 @@#ifdef MODULE -MODULE_LICENSE ("GPL" );int init_module (void ) {
drivers/video/amifb.c line 3829
Quoted 6 lines
drivers/video/amifb.c renamed from drivers/video-old/amifb.c +2
-0@@ -3826,3 +3825,5 @@ amifb_video_off(); }#endif /* MODULE */ + +MODULE_LICENSE ("GPL" );
that doesn't make much sense
please look at lwn.net the driver porting series
http://lwn.net/Articles/driver-porting/
init_module is 2.4 style not 2.6
good luck so far :)
regards
maks
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors