diff options
author | Bo Shen <voice.shen@atmel.com> | 2012-04-01 17:14:55 +0800 |
---|---|---|
committer | Josh Wu <josh.wu@atmel.com> | 2012-09-25 16:18:13 +0800 |
commit | 739b3885c18acc1ac121db0f57d9a1c55c7662b4 (patch) | |
tree | ebdaf51436bc5c5459b53423d10a4261edf15b3a /drivers/video | |
parent | 299c204712a83fff2837d964a3c38b1e4946af2e (diff) |
SAMA5: Add function to distinguish CPU type
LCDC: using has_lcdc() function to avoid error register
NET: using has_emac() and has_gmac to avoid error register
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/atmel_lcdfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index f357d5f9f68..860cbcc4d2e 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -75,8 +75,8 @@ void lcd_9x5_ctrl_init(void *lcdbase) unsigned long value; lcd_dma_desc *desc; - //if (!has_lcdc()) - // return; /* No lcdc */ + if (!has_lcdc()) + return; /* No lcdc */ /* Disable DISP signal */ lcdc_writel(panel_info.mmio, ATMEL_LCDC_LCDDIS, LCDC_LCDDIS_DISPDIS); |