[PATCH 3/3] power: reset: at91-shdwc: add new shutdown controller driver

Sebastian Reichel sre at kernel.org
Tue Sep 22 06:59:25 PDT 2015


Hi,

On Thu, Sep 10, 2015 at 12:39:18PM +0200, Nicolas Ferre wrote:
> Sama5d2 SoC has a completely new shutdown controller with new
> features and register layout. It thus makes sense to add a new
> driver for this new peripheral.
> 
> This driver is Device Tree only and handles events from the
> wake-up pin and the RTC. As the register layout may change in the
> future, so some values are encoded in a configuration structure.
>
> [...]
>
> +static struct of_device_id at91_shdwc_of_match[] = {
> +	{
> +		.compatible = "atmel,sama5d2-shdwc",
> +                .data = &sama5d2_shdwc_config,
> +	}, {
> +		/*sentinel*/
> +	}
> +};

please add:

MODULE_DEVICE_TABLE(of, at91_shdwc_of_match);

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150922/8899835b/attachment.sig>


More information about the linux-arm-kernel mailing list