/*
* rk2818 4 uarts device
*/
+#ifdef CONFIG_UART0_RK2818
static struct resource resources_uart0[] = {
{
.start = IRQ_NR_UART0,
.flags = IORESOURCE_MEM,
},
};
+#endif
+#ifdef CONFIG_UART1_RK2818
static struct resource resources_uart1[] = {
{
.start = IRQ_NR_UART1,
.flags = IORESOURCE_MEM,
},
};
+#endif
+#ifdef CONFIG_UART2_RK2818
static struct resource resources_uart2[] = {
{
.start = IRQ_NR_UART2,
.flags = IORESOURCE_MEM,
},
};
+#endif
+#ifdef CONFIG_UART3_RK2818
static struct resource resources_uart3[] = {
{
.start = IRQ_NR_UART3,
.flags = IORESOURCE_MEM,
},
};
+#endif
/* sdmmc */
struct platform_device rk2818_device_sdmmc0 = {
.name = "rk2818_sdmmc",