Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e865d06b authored by Seunghun Lee's avatar Seunghun Lee Committed by Rusty Russell
Browse files

module: fix coding style



Fix coding style of module.h

Signed-off-by: default avatarSeunghun Lee <waydi1@gmail.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 7b4ec8dd
Loading
Loading
Loading
Loading
+31 −31
Original line number Diff line number Diff line
@@ -29,8 +29,7 @@

#define MODULE_NAME_LEN MAX_PARAM_PREFIX_LEN

struct modversion_info
{
struct modversion_info {
	unsigned long crc;
	char name[MODULE_NAME_LEN];
};
@@ -146,18 +145,20 @@ extern const struct gtype##_id __mod_##gtype##_table \
  MODULE_GENERIC_TABLE(type##_device, name)

/* Version of form [<epoch>:]<version>[-<extra-version>].
   Or for CVS/RCS ID version, everything but the number is stripped.
  <epoch>: A (small) unsigned integer which allows you to start versions
           anew. If not mentioned, it's zero.  eg. "2:1.0" is after
	   "1:2.0".
  <version>: The <version> may contain only alphanumerics and the
           character `.'.  Ordered by numeric sort for numeric parts,
	   ascii sort for ascii parts (as per RPM or DEB algorithm).
  <extraversion>: Like <version>, but inserted for local
           customizations, eg "rh3" or "rusty1".

  Using this automatically adds a checksum of the .c files and the
  local headers in "srcversion".
 * Or for CVS/RCS ID version, everything but the number is stripped.
 * <epoch>: A (small) unsigned integer which allows you to start versions
 * anew. If not mentioned, it's zero.  eg. "2:1.0" is after
 * "1:2.0".

 * <version>: The <version> may contain only alphanumerics and the
 * character `.'.  Ordered by numeric sort for numeric parts,
 * ascii sort for ascii parts (as per RPM or DEB algorithm).

 * <extraversion>: Like <version>, but inserted for local
 * customizations, eg "rh3" or "rusty1".

 * Using this automatically adds a checksum of the .c files and the
 * local headers in "srcversion".
 */

#if defined(MODULE) || !defined(CONFIG_SYSFS)
@@ -226,8 +227,7 @@ struct module_ref {
	unsigned long decs;
} __attribute((aligned(2 * sizeof(unsigned long))));

struct module
{
struct module {
	enum module_state state;

	/* Member of list of modules */