|
@@ -226,6 +226,8 @@ static const struct of_device_id of_gpio_leds_match[] = {
|
|
{ .compatible = "gpio-leds", },
|
|
{ .compatible = "gpio-leds", },
|
|
{},
|
|
{},
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+MODULE_DEVICE_TABLE(of, of_gpio_leds_match);
|
|
#else /* CONFIG_OF_GPIO */
|
|
#else /* CONFIG_OF_GPIO */
|
|
static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
|
|
static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
|
|
{
|
|
{
|