summaryrefslogtreecommitdiff
path: root/arch/arm/mach-prima2/rstc.c
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-08-02 00:09:36 +0400
committerBarry Song <21cnbao@gmail.com>2011-09-11 05:11:26 +0400
commit6a53747be5f02ba7b37ff5131330363270782dc3 (patch)
tree2cf9eaaba2bbc453f7f1aa2dbacb1dcca23c376d /arch/arm/mach-prima2/rstc.c
parentddf28352b80c86754a6424e3a61e8bdf9213b3c7 (diff)
downloadlinux-6a53747be5f02ba7b37ff5131330363270782dc3.tar.xz
ARM: CSR: add missing sentinels to of_device_id tables
The of_device_id tables used for matching should be terminated with empty sentinel values. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Barry Song <baohua.song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/rstc.c')
-rw-r--r--arch/arm/mach-prima2/rstc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/rstc.c b/arch/arm/mach-prima2/rstc.c
index d074786e83d4..492cfa8d2610 100644
--- a/arch/arm/mach-prima2/rstc.c
+++ b/arch/arm/mach-prima2/rstc.c
@@ -19,6 +19,7 @@ static DEFINE_MUTEX(rstc_lock);
static struct of_device_id rstc_ids[] = {
{ .compatible = "sirf,prima2-rstc" },
+ {},
};
static int __init sirfsoc_of_rstc_init(void)