mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-28 12:40:42 +00:00
fix version printk
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1770 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
01ea959a80
commit
819c3f0863
2 files changed
+4
-2
No files matched your search
@@ -25,6 +25,7 @@
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-proc.h>
|
||||
#include <asm/semaphore.h>
|
||||
#include "version.h"
|
||||
#include "ds1307.h"
|
||||
|
||||
#define BCD_TO_BIN(x) (((x) & 15) + ((x) >> 4) * 10)
|
||||
@@ -325,7 +326,7 @@ static struct i2c_driver ds1307 = {
|
||||
|
||||
static int __init sm_ds1307_init(void)
|
||||
{
|
||||
printk ("Dallas Semiconductor DS1307 Real-Time Clock driver (V0.03)\n");
|
||||
printk("ds1307.o version %s (%s)\n", LM_VERSION, LM_DATE);
|
||||
return i2c_add_driver(&ds1307);
|
||||
}
|
||||
|
||||
|
||||
@@ -956,7 +956,8 @@ static struct pci_driver via686a_pci_driver = {
|
||||
|
||||
static int __init sm_via686a_init(void)
|
||||
{
|
||||
return pci_module_init(&via686a_pci_driver);
|
||||
printk("via686a.o version %s (%s)\n", LM_VERSION, LM_DATE);
|
||||
return pci_module_init(&via686a_pci_driver);
|
||||
}
|
||||
|
||||
static void __exit sm_via686a_exit(void)
|
||||
|
||||
Reference in new issue
Block a user