Compiled & tested on cns3xxx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
static struct platform_device laguna_gpio_leds_device = {
.name = "leds-gpio",
static struct platform_device laguna_gpio_leds_device = {
.name = "leds-gpio",
+ .id = PLATFORM_DEVID_NONE,
.dev.platform_data = &laguna_gpio_leds_data,
};
.dev.platform_data = &laguna_gpio_leds_data,
};
static struct platform_device laguna_watchdog = {
.name = "mpcore_wdt",
static struct platform_device laguna_watchdog = {
.name = "mpcore_wdt",
+ .id = PLATFORM_DEVID_NONE,
.num_resources = ARRAY_SIZE(laguna_watchdog_resources),
.resource = laguna_watchdog_resources,
};
.num_resources = ARRAY_SIZE(laguna_watchdog_resources),
.resource = laguna_watchdog_resources,
};
static struct platform_device laguna_pps_device = {
.name = "pps-gpio",
static struct platform_device laguna_pps_device = {
.name = "pps-gpio",
+ .id = PLATFORM_DEVID_NONE,
.dev.platform_data = &laguna_pps_data,
};
.dev.platform_data = &laguna_pps_data,
};