[PATCH v3 4/4] leds: leds-pwm: Add device tree bindings

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Dec 12 20:00:28 EST 2012


On 12/11/2012 08:25 AM, Thierry Reding wrote:
>> +static const struct of_device_id of_pwm_leds_match[] = {
>> +	{ .compatible = "pwm-leds", },
>> +	{},
>> +};
> 
> Doesn't this cause a compiler warning for !OF builds?

This is not causing any compiler warnings.

-- 
Péter


More information about the devicetree-discuss mailing list