standards for module info in the source code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  what's the current standard for where to put module information in a
source file?  my understanding is:

* parameter definitions near the top of the file
* module_init(), module_exit() near the bottom
* at the absolute bottom, stuff like MODULE_AUTHOR, MODULE_LICENSE and
  so on

  is that about right?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

Home page:                                         http://crashcourse.ca
Fedora Cookbook:    http://crashcourse.ca/wiki/index.php/Fedora_Cookbook
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux