From f97f1bbd1ad23dfba9cef3a8cf500f2c180cd443 Mon Sep 17 00:00:00 2001 From: Matias N Date: Sat, 31 Oct 2020 15:10:52 -0300 Subject: [PATCH] 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(-) rename {drivers => include/nuttx}/lcd/lcd_dev.h (100%) 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