Add support for the Olimex LPC-H3131 board

This commit is contained in:
Gregory Nutt
2013-11-18 14:51:38 -06:00
parent 59f1b7813c
commit 5cad0606da
+3 -1
View File
@@ -577,8 +577,10 @@ static int up_interrupt(int irq, void *context)
static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
{
struct inode *inode = filep->f_inode;
#ifdef CONFIG_SERIAL_TIOCSERGSTRUCT
struct uart_dev_s *dev = inode->i_private;
int ret = OK;
#endif
int ret = OK;
switch (cmd)
{