Browse Source

[TIPC]: Added support for MODULE_VERSION capability.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Allan Stephens 19 years ago
parent
commit
a592ea6362
1 changed files with 3 additions and 2 deletions
  1. 3 2
      net/tipc/core.c

+ 3 - 2
net/tipc/core.c

@@ -2,7 +2,7 @@
  * net/tipc/core.c: TIPC module code
  * net/tipc/core.c: TIPC module code
  *
  *
  * Copyright (c) 2003-2006, Ericsson AB
  * Copyright (c) 2003-2006, Ericsson AB
- * Copyright (c) 2005, Wind River Systems
+ * Copyright (c) 2005-2006, Wind River Systems
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without
  * Redistribution and use in source and binary forms, with or without
@@ -57,7 +57,7 @@ void tipc_socket_stop(void);
 int  tipc_netlink_start(void);
 int  tipc_netlink_start(void);
 void tipc_netlink_stop(void);
 void tipc_netlink_stop(void);
 
 
-#define MOD_NAME "tipc_start: "
+#define TIPC_MOD_VER "1.6.1"
 
 
 #ifndef CONFIG_TIPC_ZONES
 #ifndef CONFIG_TIPC_ZONES
 #define CONFIG_TIPC_ZONES 3
 #define CONFIG_TIPC_ZONES 3
@@ -224,6 +224,7 @@ module_exit(tipc_exit);
 
 
 MODULE_DESCRIPTION("TIPC: Transparent Inter Process Communication");
 MODULE_DESCRIPTION("TIPC: Transparent Inter Process Communication");
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_LICENSE("Dual BSD/GPL");
+MODULE_VERSION(TIPC_MOD_VER);
 
 
 /* Native TIPC API for kernel-space applications (see tipc.h) */
 /* Native TIPC API for kernel-space applications (see tipc.h) */