Framebuffer Driver: Small modification convention for multi-planar displays (of which there are none).

This commit is contained in:
Gregory Nutt
2017-11-29 07:06:53 -06:00
parent 2b4f0b4a25
commit 2fb52cf3d9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -441,7 +441,7 @@ static int fb_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
* Register the framebuffer character device at /dev/fbN where N is the
* display number if the devices supports only a single plane. If the
* hardware supports multiple color planes, then the device will be
* registered at /dev/fbN-M where N is the again display number but M
* registered at /dev/fbN.M where N is the again display number but M
* is the display plane.
*
* Input Parameters:
@@ -530,7 +530,7 @@ int fb_register(int display, int plane)
}
else
{
(void)snprintf(devname, 16, "/dev/fb%d-%d", display, plane);
(void)snprintf(devname, 16, "/dev/fb%d.%d", display, plane);
}
ret = register_driver(devname, &fb_fops, 0666, (FAR void *)fb);
+1 -1
View File
@@ -466,7 +466,7 @@ void up_fbuninitialize(int display);
* Register the framebuffer character device at /dev/fbN where N is the
* display number if the devices supports only a single plane. If the
* hardware supports multiple color planes, then the device will be
* registered at /dev/fbN-M where N is the again display number but M
* registered at /dev/fbN.M where N is the again display number but M
* is the display plane.
*
* Input Parameters: