diff options
author | Joe Perches <joe@perches.com> | 2011-05-09 05:45:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-09 15:51:16 -0400 |
commit | 1c3319fb69c29376fe23c1aa0cd7cb6df91c7883 (patch) | |
tree | 9a1df34c216941bb9b6ecd1e81880bc28ed05f37 /drivers/net/tulip/de2104x.c | |
parent | 726b65ad444dd142e34d0087fcbba03d16b34ca6 (diff) |
tulip: Use pr_<level> where appropriate
Use the current logging styles.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip/de2104x.c')
-rw-r--r-- | drivers/net/tulip/de2104x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index e925c1ea04bb..e2f692351180 100644 --- a/drivers/net/tulip/de2104x.c +++ b/drivers/net/tulip/de2104x.c | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | /* These identify the driver base version and may not be removed. */ | 54 | /* These identify the driver base version and may not be removed. */ |
55 | static char version[] = | 55 | static char version[] = |
56 | KERN_INFO DRV_NAME " PCI Ethernet driver v" DRV_VERSION " (" DRV_RELDATE ")\n"; | 56 | "PCI Ethernet driver v" DRV_VERSION " (" DRV_RELDATE ")"; |
57 | 57 | ||
58 | MODULE_AUTHOR("Jeff Garzik <jgarzik@pobox.com>"); | 58 | MODULE_AUTHOR("Jeff Garzik <jgarzik@pobox.com>"); |
59 | MODULE_DESCRIPTION("Intel/Digital 21040/1 series PCI Ethernet driver"); | 59 | MODULE_DESCRIPTION("Intel/Digital 21040/1 series PCI Ethernet driver"); |
@@ -1978,7 +1978,7 @@ static int __devinit de_init_one (struct pci_dev *pdev, | |||
1978 | 1978 | ||
1979 | #ifndef MODULE | 1979 | #ifndef MODULE |
1980 | if (board_idx == 0) | 1980 | if (board_idx == 0) |
1981 | printk("%s", version); | 1981 | pr_info("%s\n", version); |
1982 | #endif | 1982 | #endif |
1983 | 1983 | ||
1984 | /* allocate a new ethernet device structure, and fill in defaults */ | 1984 | /* allocate a new ethernet device structure, and fill in defaults */ |
@@ -2200,7 +2200,7 @@ static struct pci_driver de_driver = { | |||
2200 | static int __init de_init (void) | 2200 | static int __init de_init (void) |
2201 | { | 2201 | { |
2202 | #ifdef MODULE | 2202 | #ifdef MODULE |
2203 | printk("%s", version); | 2203 | pr_info("%s\n", version); |
2204 | #endif | 2204 | #endif |
2205 | return pci_register_driver(&de_driver); | 2205 | return pci_register_driver(&de_driver); |
2206 | } | 2206 | } |