diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-27 22:47:19 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-27 22:47:19 +0000 |
commit | 64127e55a027d4c409eed6026d4702e728ea2442 (patch) | |
tree | 0b6ec49294758e34880a14604fab085bd1fdaac0 /xpp | |
parent | da9ec370fa6f53547064993972e0e645182b9bb8 (diff) |
remove pointless duplication of ZAPTEL_VERSION that causes these modules to be rebuilt every time a commit is made to any part of Zaptel
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r-- | xpp/card_fxo.c | 4 | ||||
-rw-r--r-- | xpp/card_fxs.c | 4 | ||||
-rw-r--r-- | xpp/xpp_usb.c | 4 | ||||
-rw-r--r-- | xpp/xpp_zap.c | 4 |
4 files changed, 4 insertions, 12 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c index 3ab09a2..7187d08 100644 --- a/xpp/card_fxo.c +++ b/xpp/card_fxo.c @@ -24,7 +24,6 @@ #include <linux/module.h> #include <linux/fs.h> #include <linux/delay.h> -#include <version.h> /* For zaptel version */ #include "xpd.h" #include "xproto.h" #include "xpp_zap.h" @@ -897,7 +896,7 @@ static int proc_xpd_register_read(char *page, char **start, off_t off, int count int __init card_fxo_startup(void) { - INFO("%s revision %s\n", THIS_MODULE->name, ZAPTEL_VERSION); + INFO("%s\n", THIS_MODULE->name); xproto_register(&PROTO_TABLE(FXO)); return 0; } @@ -910,7 +909,6 @@ void __exit card_fxo_cleanup(void) MODULE_DESCRIPTION("XPP FXO Card Driver"); MODULE_AUTHOR("Oron Peled <oron@actcom.co.il>"); MODULE_LICENSE("GPL"); -MODULE_VERSION(ZAPTEL_VERSION); MODULE_ALIAS_XPD(XPD_TYPE_FXO); module_init(card_fxo_startup); diff --git a/xpp/card_fxs.c b/xpp/card_fxs.c index b5c6538..5e5674b 100644 --- a/xpp/card_fxs.c +++ b/xpp/card_fxs.c @@ -24,7 +24,6 @@ #include <linux/module.h> #include <linux/fs.h> #include <linux/delay.h> -#include <version.h> /* For zaptel version */ #include "xpd.h" #include "xproto.h" #include "xpp_zap.h" @@ -989,7 +988,7 @@ static int proc_xpd_register_read(char *page, char **start, off_t off, int count int __init card_fxs_startup(void) { - INFO("%s revision %s\n", THIS_MODULE->name, ZAPTEL_VERSION); + INFO("%s\n", THIS_MODULE->name); #ifdef POLL_DIGITAL_INPUTS INFO("FEATURE: %s with DIGITAL INPUTS support (%s activated)\n", THIS_MODULE->name, (poll_digital_inputs) ? "is" : "is not"); @@ -1008,7 +1007,6 @@ void __exit card_fxs_cleanup(void) MODULE_DESCRIPTION("XPP FXS Card Driver"); MODULE_AUTHOR("Oron Peled <oron@actcom.co.il>"); MODULE_LICENSE("GPL"); -MODULE_VERSION(ZAPTEL_VERSION); MODULE_ALIAS_XPD(XPD_TYPE_FXS); module_init(card_fxs_startup); diff --git a/xpp/xpp_usb.c b/xpp/xpp_usb.c index 1d4b20e..c9e83a6 100644 --- a/xpp/xpp_usb.c +++ b/xpp/xpp_usb.c @@ -38,7 +38,6 @@ #include <asm/timex.h> #include <linux/proc_fs.h> #include <linux/usb.h> -#include <version.h> /* For zaptel version */ #include "xpd.h" #include "xproto.h" #include "xbus-core.h" @@ -861,7 +860,7 @@ int __init xpp_usb_init(void) int result; //xusb_t *xusb; - INFO("%s revision %s\n", THIS_MODULE->name, ZAPTEL_VERSION); + INFO("%s\n", THIS_MODULE->name); /* register this driver with the USB subsystem */ result = usb_register(&xusb_driver); @@ -942,7 +941,6 @@ out: MODULE_DESCRIPTION("XPP USB Driver"); MODULE_AUTHOR("Oron Peled <oron@actcom.co.il>"); MODULE_LICENSE("GPL"); -MODULE_VERSION(ZAPTEL_VERSION); module_init(xpp_usb_init); module_exit(xpp_usb_cleanup); diff --git a/xpp/xpp_zap.c b/xpp/xpp_zap.c index 1d567ca..b73232d 100644 --- a/xpp/xpp_zap.c +++ b/xpp/xpp_zap.c @@ -39,7 +39,6 @@ #include <linux/workqueue.h> #include <linux/proc_fs.h> #include <zaptel.h> -#include <version.h> /* For zaptel version */ #include "xbus-core.h" #include "xproto.h" #include "xpp_zap.h" @@ -1448,7 +1447,7 @@ int __init xpp_zap_init(void) int ret = 0; struct proc_dir_entry *ent; - INFO("%s revision %s MAX_XPDS=%d (%d*%d)\n", THIS_MODULE->name, ZAPTEL_VERSION, + INFO("%s MAX_XPDS=%d (%d*%d)\n", THIS_MODULE->name, MAX_XPDS, MAX_UNIT, MAX_SUBUNIT); #if WITH_ECHO_SUPPRESSION INFO("FEATURE: %s (with ECHO_SUPPRESSION)\n", THIS_MODULE->name); @@ -1520,7 +1519,6 @@ EXPORT_SYMBOL(xpp_maint); MODULE_DESCRIPTION("XPP Zaptel Driver"); MODULE_AUTHOR("Oron Peled <oron@actcom.co.il>"); MODULE_LICENSE("GPL"); -MODULE_VERSION(ZAPTEL_VERSION); module_init(xpp_zap_init); module_exit(xpp_zap_cleanup); |