Mercurial > pt1
diff driver/pt1_pci.c @ 93:ee357d8f987f
suppress silly warning
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 28 Jan 2010 15:54:04 +0900 |
parents | c6311b6efd9c |
children | a201531113ca |
line wrap: on
line diff
--- a/driver/pt1_pci.c Thu Jan 28 00:18:51 2010 +0900 +++ b/driver/pt1_pci.c Thu Jan 28 15:54:04 2010 +0900 @@ -42,7 +42,7 @@ /* These identify the driver base version and may not be removed. */ static char version[] __devinitdata = -KERN_INFO DRV_NAME ".c: " DRV_VERSION " " DRV_RELDATE " \n"; +DRV_NAME ".c: " DRV_VERSION " " DRV_RELDATE " \n"; MODULE_AUTHOR("Tomoaki Ishikawa tomy@users.sourceforge.jp and Yoshiki Yazawa yaz@honeyplanet.jp"); #define DRIVER_DESC "PCI earthsoft PT1/2 driver" @@ -931,7 +931,7 @@ static int __init pt1_pci_init(void) { - printk(version); + printk(KERN_INFO "%s", version); pt1video_class = class_create(THIS_MODULE, DRIVERNAME); if (IS_ERR(pt1video_class)) return PTR_ERR(pt1video_class);