Skip to content

Commit

Permalink
ARM: CSR: add missing sentinels to of_device_id tables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jamie Iles authored and Barry Song committed Sep 11, 2011
1 parent ddf2835 commit 6a53747
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-prima2/clock.c
Original file line number Diff line number Diff line change
@@ -481,6 +481,7 @@ static void __init sirfsoc_clk_init(void)

static struct of_device_id clkc_ids[] = {
{ .compatible = "sirf,prima2-clkc" },
{},
};

void __init sirfsoc_of_clk_init(void)
1 change: 1 addition & 0 deletions arch/arm/mach-prima2/irq.c
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ static __init void sirfsoc_irq_init(void)

static struct of_device_id intc_ids[] = {
{ .compatible = "sirf,prima2-intc" },
{},
};

void __init sirfsoc_of_irq_init(void)
1 change: 1 addition & 0 deletions arch/arm/mach-prima2/rstc.c
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions arch/arm/mach-prima2/timer.c
Original file line number Diff line number Diff line change
@@ -190,6 +190,7 @@ static void __init sirfsoc_timer_init(void)

static struct of_device_id timer_ids[] = {
{ .compatible = "sirf,prima2-tick" },
{},
};

static void __init sirfsoc_of_timer_map(void)

0 comments on commit 6a53747

Please sign in to comment.