diff options
-rw-r--r-- | drivers/leds/leds-gpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 953fb37f0375..57ff20fecf57 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -226,6 +226,8 @@ static const struct of_device_id of_gpio_leds_match[] = { | |||
226 | { .compatible = "gpio-leds", }, | 226 | { .compatible = "gpio-leds", }, |
227 | {}, | 227 | {}, |
228 | }; | 228 | }; |
229 | |||
230 | MODULE_DEVICE_TABLE(of, of_gpio_leds_match); | ||
229 | #else /* CONFIG_OF_GPIO */ | 231 | #else /* CONFIG_OF_GPIO */ |
230 | static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev) | 232 | static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev) |
231 | { | 233 | { |