Re: [PATCH 1/2] regulator: tps65218: Add terminate entry for of_device_id table
From: Mark Brown
Date: Wed Feb 19 2014 - 02:51:11 EST
On Tue, Feb 18, 2014 at 08:20:59PM +0800, Axel Lin wrote:
> Fixes below build error:
> FATAL: drivers/regulator/tps65218-regulator: struct of_device_id is not terminated with a NULL entry!
This is good (though I'm not seeing a build time error myself...).
> Also remove of_match_ptr as this is a DT-only driver.
This should really have been split out as a separate change. We
probably also need an OF dependency in the Kconfig for this (there may
be one on the MFD but having one here if the driver specficaly depends
on DT is better to avoid bisection issues if the MFD gets updated).
Attachment:
signature.asc
Description: Digital signature