This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new f97f1bb lcd_dev: put header in correct location; fix missing const f97f1bb is described below commit f97f1bbd1ad23dfba9cef3a8cf500f2c180cd443 Author: Matias N <mat...@protobits.dev> AuthorDate: Sat Oct 31 15:10:52 2020 -0300 lcd_dev: put header in correct location; fix missing const --- drivers/lcd/lcd_dev.c | 6 +++--- {drivers => include/nuttx}/lcd/lcd_dev.h | 0 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/lcd/lcd_dev.c b/drivers/lcd/lcd_dev.c index 43d0ca8..3c458d6 100644 --- a/drivers/lcd/lcd_dev.c +++ b/drivers/lcd/lcd_dev.c @@ -39,7 +39,7 @@ #include <nuttx/irq.h> #include <nuttx/board.h> -#include "lcd_dev.h" +#include <nuttx/lcd/lcd_dev.h> /**************************************************************************** * 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