Changes for clean RGMP compile

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3598 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-05-12 19:39:51 +00:00
parent 923b9b3ce1
commit 1a51178b13
1 changed files with 2 additions and 2 deletions

View File

@ -172,11 +172,11 @@ static uart_dev_t *up_alloc_com(unsigned int base, int irq)
uart_dev_t *dev;
struct up_dev_s *priv;
priv = kzmalloc(sizeof(struct up_dev_s));
priv = kzalloc(sizeof(struct up_dev_s));
if (priv == NULL)
goto err0;
dev = kzmalloc(sizeof(uart_dev_t));
dev = kzalloc(sizeof(uart_dev_t));
if (dev == NULL)
goto err1;