lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] power: reset: at91-shdwc: add new shutdown controller driver
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-09-22 16:21    [W:0.081 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site