diff options
Diffstat (limited to 'drivers/net/tulip/dmfe.c')
| -rw-r--r-- | drivers/net/tulip/dmfe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index 96e8541a76e9..468512731966 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c | |||
| @@ -295,8 +295,7 @@ enum dmfe_CR6_bits { | |||
| 295 | /* Global variable declaration ----------------------------- */ | 295 | /* Global variable declaration ----------------------------- */ |
| 296 | static int __devinitdata printed_version; | 296 | static int __devinitdata printed_version; |
| 297 | static const char version[] __devinitconst = | 297 | static const char version[] __devinitconst = |
| 298 | KERN_INFO DRV_NAME ": Davicom DM9xxx net driver, version " | 298 | "Davicom DM9xxx net driver, version " DRV_VERSION " (" DRV_RELDATE ")"; |
| 299 | DRV_VERSION " (" DRV_RELDATE ")\n"; | ||
| 300 | 299 | ||
| 301 | static int dmfe_debug; | 300 | static int dmfe_debug; |
| 302 | static unsigned char dmfe_media_mode = DMFE_AUTO; | 301 | static unsigned char dmfe_media_mode = DMFE_AUTO; |
| @@ -381,7 +380,7 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, | |||
| 381 | DMFE_DBUG(0, "dmfe_init_one()", 0); | 380 | DMFE_DBUG(0, "dmfe_init_one()", 0); |
| 382 | 381 | ||
| 383 | if (!printed_version++) | 382 | if (!printed_version++) |
| 384 | printk(version); | 383 | pr_info("%s\n", version); |
| 385 | 384 | ||
| 386 | /* | 385 | /* |
| 387 | * SPARC on-board DM910x chips should be handled by the main | 386 | * SPARC on-board DM910x chips should be handled by the main |
| @@ -2203,7 +2202,7 @@ static int __init dmfe_init_module(void) | |||
| 2203 | { | 2202 | { |
| 2204 | int rc; | 2203 | int rc; |
| 2205 | 2204 | ||
| 2206 | printk(version); | 2205 | pr_info("%s\n", version); |
| 2207 | printed_version = 1; | 2206 | printed_version = 1; |
| 2208 | 2207 | ||
| 2209 | DMFE_DBUG(0, "init_module() ", debug); | 2208 | DMFE_DBUG(0, "init_module() ", debug); |
