]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
m68knommu: fix end of uart table marker
authorGreg Ungerer <gerg@uclinux.org>
Tue, 24 Mar 2009 05:15:14 +0000 (15:15 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 24 Mar 2009 05:17:46 +0000 (15:17 +1000)
The UART platform data structure is missing an empty struct at the
end (as the end of structure marker).

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/platform/5249/config.c

index d299f7b8768a9981640733e60b51b5bb106a3bfb..9c926dedb7c2f7ca454986716de582eb405975c9 100644 (file)
@@ -32,7 +32,8 @@ static struct mcf_platform_uart m5249_uart_platform[] = {
        {
                .mapbase        = MCF_MBAR + MCFUART_BASE2,
                .irq            = 74,
-       }
+       },
+       { },
 };
 
 static struct platform_device m5249_uart = {