diff --git a/[refs] b/[refs] index 8e951d1aab12..1738c1a1df2b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d67eb8e66c53dd2d26d294b49969f0c3101a5368 +refs/heads/master: fbd9df28faeda17b1a9d3e9ab976e969be98d379 diff --git a/trunk/drivers/leds/leds-tca6507.c b/trunk/drivers/leds/leds-tca6507.c index 070ba0741b21..98fe021ba276 100644 --- a/trunk/drivers/leds/leds-tca6507.c +++ b/trunk/drivers/leds/leds-tca6507.c @@ -85,6 +85,7 @@ #include #include #include +#include /* LED select registers determine the source that drives LED outputs */ #define TCA6507_LS_LED_OFF 0x0 /* Output HI-Z (off) */ @@ -724,7 +725,6 @@ tca6507_led_dt_init(struct i2c_client *client) return ERR_PTR(-ENODEV); } -#define of_tca6507_leds_match NULL #endif static int tca6507_probe(struct i2c_client *client, @@ -813,7 +813,7 @@ static struct i2c_driver tca6507_driver = { .driver = { .name = "leds-tca6507", .owner = THIS_MODULE, - .of_match_table = of_tca6507_leds_match, + .of_match_table = of_match_ptr(of_tca6507_leds_match), }, .probe = tca6507_probe, .remove = tca6507_remove,