diff options
Diffstat (limited to 'drivers/video/fb.c')
-rw-r--r-- | drivers/video/fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fb.c b/drivers/video/fb.c index c9d184d502..72f33a6db6 100644 --- a/drivers/video/fb.c +++ b/drivers/video/fb.c @@ -309,7 +309,7 @@ int register_framebuffer(struct fb_info *info) dev->id = id; dev->info = fb_info; - sprintf(dev->name, "fb"); + dev_set_name(dev, "fb"); ret = register_device(&info->dev); if (ret) |