Commit 9adc8af4 authored by Dan Murphy's avatar Dan Murphy Committed by Pavel Machek

leds: lm36274: Fix warning for undefined parameters

Fix warnings for undefined parameters when building with W=1.
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Reviewed-by: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 9e955a42
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
* @lmu_data: Register and setting values for common code * @lmu_data: Register and setting values for common code
* @regmap: Devices register map * @regmap: Devices register map
* @dev: Pointer to the devices device struct * @dev: Pointer to the devices device struct
* @led_sources - The LED strings supported in this array * @led_sources: The LED strings supported in this array
* @num_leds - Number of LED strings are supported in this array * @num_leds: Number of LED strings are supported in this array
*/ */
struct lm36274 { struct lm36274 {
struct platform_device *pdev; struct platform_device *pdev;
...@@ -160,6 +160,7 @@ static struct platform_driver lm36274_driver = { ...@@ -160,6 +160,7 @@ static struct platform_driver lm36274_driver = {
.probe = lm36274_probe, .probe = lm36274_probe,
.driver = { .driver = {
.name = "lm36274-leds", .name = "lm36274-leds",
.of_match_table = of_lm36274_leds_match,
}, },
}; };
module_platform_driver(lm36274_driver) module_platform_driver(lm36274_driver)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment