diff --git a/drivers/lcd/lcd_dev.c b/drivers/lcd/lcd_dev.c index 43d0ca8d8f6..3c458d6d531 100644 --- a/drivers/lcd/lcd_dev.c +++ b/drivers/lcd/lcd_dev.c @@ -39,7 +39,7 @@ #include #include -#include "lcd_dev.h" +#include /**************************************************************************** * Private Types @@ -124,7 +124,7 @@ static int lcddev_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case LCDDEVIO_GETRUN: { FAR struct lcddev_run_s *lcd_putrun = - (const FAR struct lcddev_run_s *)arg; + (FAR struct lcddev_run_s *)arg; ret = priv->planeinfo.getrun(lcd_putrun->row, lcd_putrun->col, lcd_putrun->data, lcd_putrun->npixels); @@ -133,7 +133,7 @@ static int lcddev_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case LCDDEVIO_PUTRUN: { const FAR struct lcddev_run_s *lcd_putrun = - (FAR struct lcddev_run_s *)arg; + (const FAR struct lcddev_run_s *)arg; ret = priv->planeinfo.putrun(lcd_putrun->row, lcd_putrun->col, lcd_putrun->data, lcd_putrun->npixels); diff --git a/drivers/lcd/lcd_dev.h b/include/nuttx/lcd/lcd_dev.h similarity index 100% rename from drivers/lcd/lcd_dev.h rename to include/nuttx/lcd/lcd_dev.h