diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:55:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:55:11 +0000 |
commit | 81d126c3be15c1104b082683104856bede936d47 (patch) | |
tree | 42fc68fc508f3d01d6604aa3d5d039beed552f52 /sim | |
parent | 990d19fd6d925da5856de50fd84d8656e762b83c (diff) | |
download | gdb-81d126c3be15c1104b082683104856bede936d47.zip gdb-81d126c3be15c1104b082683104856bede936d47.tar.gz gdb-81d126c3be15c1104b082683104856bede936d47.tar.bz2 |
sim: bfin: fix brace style
Diffstat (limited to 'sim')
-rw-r--r-- | sim/bfin/dv-bfin_cec.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_ctimer.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_dma.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_dmac.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_ebiu_amc.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_ebiu_ddrc.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_ebiu_sdc.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_emac.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_eppi.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_evt.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_gptimer.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_jtag.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_mmu.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_nfc.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_otp.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_pll.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_ppi.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_rtc.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_sic.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_spi.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_trace.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_twi.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_uart.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_uart2.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_wdog.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_wp.c | 3 | ||||
-rw-r--r-- | sim/bfin/dv-eth_phy.c | 3 |
27 files changed, 54 insertions, 27 deletions
diff --git a/sim/bfin/dv-bfin_cec.c b/sim/bfin/dv-bfin_cec.c index 8e8912b..85fe6fc 100644 --- a/sim/bfin/dv-bfin_cec.c +++ b/sim/bfin/dv-bfin_cec.c @@ -207,7 +207,8 @@ bfin_cec_finish (struct hw *me) cec->ipend = IVG_RST_B | IVG_IRPTEN_B; } -const struct hw_descriptor dv_bfin_cec_descriptor[] = { +const struct hw_descriptor dv_bfin_cec_descriptor[] = +{ {"bfin_cec", bfin_cec_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_ctimer.c b/sim/bfin/dv-bfin_ctimer.c index 552f772..13f12d4 100644 --- a/sim/bfin/dv-bfin_ctimer.c +++ b/sim/bfin/dv-bfin_ctimer.c @@ -263,7 +263,8 @@ bfin_ctimer_finish (struct hw *me) /* Initialize the Core Timer. */ } -const struct hw_descriptor dv_bfin_ctimer_descriptor[] = { +const struct hw_descriptor dv_bfin_ctimer_descriptor[] = +{ {"bfin_ctimer", bfin_ctimer_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_dma.c b/sim/bfin/dv-bfin_dma.c index 3d52803..1af528b 100644 --- a/sim/bfin/dv-bfin_dma.c +++ b/sim/bfin/dv-bfin_dma.c @@ -549,7 +549,8 @@ bfin_dma_finish (struct hw *me) dma->peripheral_map = bfin_dmac_default_pmap (me); } -const struct hw_descriptor dv_bfin_dma_descriptor[] = { +const struct hw_descriptor dv_bfin_dma_descriptor[] = +{ {"bfin_dma", bfin_dma_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_dmac.c b/sim/bfin/dv-bfin_dmac.c index 1a58422..5cc05b1 100644 --- a/sim/bfin/dv-bfin_dmac.c +++ b/sim/bfin/dv-bfin_dmac.c @@ -487,7 +487,8 @@ bfin_dmac_finish (struct hw *me) } } -const struct hw_descriptor dv_bfin_dmac_descriptor[] = { +const struct hw_descriptor dv_bfin_dmac_descriptor[] = +{ {"bfin_dmac", bfin_dmac_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_ebiu_amc.c b/sim/bfin/dv-bfin_ebiu_amc.c index 60868cf..4e056ca 100644 --- a/sim/bfin/dv-bfin_ebiu_amc.c +++ b/sim/bfin/dv-bfin_ebiu_amc.c @@ -453,7 +453,8 @@ bfin_ebiu_amc_finish (struct hw *me) bfin_ebiu_amc_write_amgctl (me, amc, amgctl); } -const struct hw_descriptor dv_bfin_ebiu_amc_descriptor[] = { +const struct hw_descriptor dv_bfin_ebiu_amc_descriptor[] = +{ {"bfin_ebiu_amc", bfin_ebiu_amc_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_ebiu_ddrc.c b/sim/bfin/dv-bfin_ebiu_ddrc.c index c68c1ab..a0095a1 100644 --- a/sim/bfin/dv-bfin_ebiu_ddrc.c +++ b/sim/bfin/dv-bfin_ebiu_ddrc.c @@ -179,7 +179,8 @@ bfin_ebiu_ddrc_finish (struct hw *me) ddrc->rstctl = 0x0002; } -const struct hw_descriptor dv_bfin_ebiu_ddrc_descriptor[] = { +const struct hw_descriptor dv_bfin_ebiu_ddrc_descriptor[] = +{ {"bfin_ebiu_ddrc", bfin_ebiu_ddrc_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_ebiu_sdc.c b/sim/bfin/dv-bfin_ebiu_sdc.c index 98cdb22..da9524d 100644 --- a/sim/bfin/dv-bfin_ebiu_sdc.c +++ b/sim/bfin/dv-bfin_ebiu_sdc.c @@ -196,7 +196,8 @@ bfin_ebiu_sdc_finish (struct hw *me) sdc->sdbctl |= EBE | EBSZ_64 | EBCAW_10; } -const struct hw_descriptor dv_bfin_ebiu_sdc_descriptor[] = { +const struct hw_descriptor dv_bfin_ebiu_sdc_descriptor[] = +{ {"bfin_ebiu_sdc", bfin_ebiu_sdc_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_emac.c b/sim/bfin/dv-bfin_emac.c index 6b80b58..a64198d 100644 --- a/sim/bfin/dv-bfin_emac.c +++ b/sim/bfin/dv-bfin_emac.c @@ -599,7 +599,8 @@ bfin_emac_finish (struct hw *me) bfin_emac_tap_init (me); } -const struct hw_descriptor dv_bfin_emac_descriptor[] = { +const struct hw_descriptor dv_bfin_emac_descriptor[] = +{ {"bfin_emac", bfin_emac_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_eppi.c b/sim/bfin/dv-bfin_eppi.c index 6f533a5..df76f97 100644 --- a/sim/bfin/dv-bfin_eppi.c +++ b/sim/bfin/dv-bfin_eppi.c @@ -267,7 +267,8 @@ bfin_eppi_finish (struct hw *me) eppi->color = bfin_gui_color (color); } -const struct hw_descriptor dv_bfin_eppi_descriptor[] = { +const struct hw_descriptor dv_bfin_eppi_descriptor[] = +{ {"bfin_eppi", bfin_eppi_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_evt.c b/sim/bfin/dv-bfin_evt.c index 3558fb5..80d4132 100644 --- a/sim/bfin/dv-bfin_evt.c +++ b/sim/bfin/dv-bfin_evt.c @@ -121,7 +121,8 @@ bfin_evt_finish (struct hw *me) attach_bfin_evt_regs (me, evt); } -const struct hw_descriptor dv_bfin_evt_descriptor[] = { +const struct hw_descriptor dv_bfin_evt_descriptor[] = +{ {"bfin_evt", bfin_evt_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_gptimer.c b/sim/bfin/dv-bfin_gptimer.c index 35aa79e..07dec45 100644 --- a/sim/bfin/dv-bfin_gptimer.c +++ b/sim/bfin/dv-bfin_gptimer.c @@ -179,7 +179,8 @@ bfin_gptimer_finish (struct hw *me) attach_bfin_gptimer_regs (me, gptimer); } -const struct hw_descriptor dv_bfin_gptimer_descriptor[] = { +const struct hw_descriptor dv_bfin_gptimer_descriptor[] = +{ {"bfin_gptimer", bfin_gptimer_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_jtag.c b/sim/bfin/dv-bfin_jtag.c index 78a3686..b4b4824 100644 --- a/sim/bfin/dv-bfin_jtag.c +++ b/sim/bfin/dv-bfin_jtag.c @@ -152,7 +152,8 @@ bfin_jtag_finish (struct hw *me) jtag->dspid = bfin_model_get_dspid (hw_system (me)); } -const struct hw_descriptor dv_bfin_jtag_descriptor[] = { +const struct hw_descriptor dv_bfin_jtag_descriptor[] = +{ {"bfin_jtag", bfin_jtag_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_mmu.c b/sim/bfin/dv-bfin_mmu.c index f4e35f8..0e50434 100644 --- a/sim/bfin/dv-bfin_mmu.c +++ b/sim/bfin/dv-bfin_mmu.c @@ -256,7 +256,8 @@ bfin_mmu_finish (struct hw *me) mmu->imem_control = 0x00000001; } -const struct hw_descriptor dv_bfin_mmu_descriptor[] = { +const struct hw_descriptor dv_bfin_mmu_descriptor[] = +{ {"bfin_mmu", bfin_mmu_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_nfc.c b/sim/bfin/dv-bfin_nfc.c index 3517a75..84246c8 100644 --- a/sim/bfin/dv-bfin_nfc.c +++ b/sim/bfin/dv-bfin_nfc.c @@ -237,7 +237,8 @@ bfin_nfc_finish (struct hw *me) nfc->irqmask = 0x001F; } -const struct hw_descriptor dv_bfin_nfc_descriptor[] = { +const struct hw_descriptor dv_bfin_nfc_descriptor[] = +{ {"bfin_nfc", bfin_nfc_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_otp.c b/sim/bfin/dv-bfin_otp.c index 902796f..34bfb8d 100644 --- a/sim/bfin/dv-bfin_otp.c +++ b/sim/bfin/dv-bfin_otp.c @@ -302,7 +302,8 @@ bfin_otp_finish (struct hw *me) bfin_otp_write_page_val (otp, FPS03, (void *)part_str); } -const struct hw_descriptor dv_bfin_otp_descriptor[] = { +const struct hw_descriptor dv_bfin_otp_descriptor[] = +{ {"bfin_otp", bfin_otp_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_pll.c b/sim/bfin/dv-bfin_pll.c index 8620039..20032de 100644 --- a/sim/bfin/dv-bfin_pll.c +++ b/sim/bfin/dv-bfin_pll.c @@ -183,7 +183,8 @@ bfin_pll_finish (struct hw *me) pll->pll_lockcnt = 0x300; } -const struct hw_descriptor dv_bfin_pll_descriptor[] = { +const struct hw_descriptor dv_bfin_pll_descriptor[] = +{ {"bfin_pll", bfin_pll_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_ppi.c b/sim/bfin/dv-bfin_ppi.c index 4c9fd7f..e7b404b 100644 --- a/sim/bfin/dv-bfin_ppi.c +++ b/sim/bfin/dv-bfin_ppi.c @@ -227,7 +227,8 @@ bfin_ppi_finish (struct hw *me) ppi->color = bfin_gui_color (color); } -const struct hw_descriptor dv_bfin_ppi_descriptor[] = { +const struct hw_descriptor dv_bfin_ppi_descriptor[] = +{ {"bfin_ppi", bfin_ppi_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_rtc.c b/sim/bfin/dv-bfin_rtc.c index 59a735d..870d6b1 100644 --- a/sim/bfin/dv-bfin_rtc.c +++ b/sim/bfin/dv-bfin_rtc.c @@ -190,7 +190,8 @@ bfin_rtc_finish (struct hw *me) /* Initialize the RTC. */ } -const struct hw_descriptor dv_bfin_rtc_descriptor[] = { +const struct hw_descriptor dv_bfin_rtc_descriptor[] = +{ {"bfin_rtc", bfin_rtc_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_sic.c b/sim/bfin/dv-bfin_sic.c index ddfcb15..3df7ffb 100644 --- a/sim/bfin/dv-bfin_sic.c +++ b/sim/bfin/dv-bfin_sic.c @@ -1446,7 +1446,8 @@ bfin_sic_finish (struct hw *me) } } -const struct hw_descriptor dv_bfin_sic_descriptor[] = { +const struct hw_descriptor dv_bfin_sic_descriptor[] = +{ {"bfin_sic", bfin_sic_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_spi.c b/sim/bfin/dv-bfin_spi.c index 500f72c..f3e5cf6 100644 --- a/sim/bfin/dv-bfin_spi.c +++ b/sim/bfin/dv-bfin_spi.c @@ -225,7 +225,8 @@ bfin_spi_finish (struct hw *me) spi->stat = 0x0001; } -const struct hw_descriptor dv_bfin_spi_descriptor[] = { +const struct hw_descriptor dv_bfin_spi_descriptor[] = +{ {"bfin_spi", bfin_spi_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_trace.c b/sim/bfin/dv-bfin_trace.c index 99dd1be..beb7742 100644 --- a/sim/bfin/dv-bfin_trace.c +++ b/sim/bfin/dv-bfin_trace.c @@ -200,7 +200,8 @@ bfin_trace_finish (struct hw *me) attach_bfin_trace_regs (me, trace); } -const struct hw_descriptor dv_bfin_trace_descriptor[] = { +const struct hw_descriptor dv_bfin_trace_descriptor[] = +{ {"bfin_trace", bfin_trace_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_twi.c b/sim/bfin/dv-bfin_twi.c index 5a51be2..8c775e6 100644 --- a/sim/bfin/dv-bfin_twi.c +++ b/sim/bfin/dv-bfin_twi.c @@ -223,7 +223,8 @@ bfin_twi_finish (struct hw *me) attach_bfin_twi_regs (me, twi); } -const struct hw_descriptor dv_bfin_twi_descriptor[] = { +const struct hw_descriptor dv_bfin_twi_descriptor[] = +{ {"bfin_twi", bfin_twi_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_uart.c b/sim/bfin/dv-bfin_uart.c index 76aa87d..f05ee15 100644 --- a/sim/bfin/dv-bfin_uart.c +++ b/sim/bfin/dv-bfin_uart.c @@ -433,7 +433,8 @@ bfin_uart_finish (struct hw *me) uart->lsr = 0x0060; } -const struct hw_descriptor dv_bfin_uart_descriptor[] = { +const struct hw_descriptor dv_bfin_uart_descriptor[] = +{ {"bfin_uart", bfin_uart_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_uart2.c b/sim/bfin/dv-bfin_uart2.c index 8a793cd..5b379bb 100644 --- a/sim/bfin/dv-bfin_uart2.c +++ b/sim/bfin/dv-bfin_uart2.c @@ -254,7 +254,8 @@ bfin_uart_finish (struct hw *me) uart->lsr = 0x0060; } -const struct hw_descriptor dv_bfin_uart2_descriptor[] = { +const struct hw_descriptor dv_bfin_uart2_descriptor[] = +{ {"bfin_uart2", bfin_uart_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_wdog.c b/sim/bfin/dv-bfin_wdog.c index 7607df9..fcda6c9 100644 --- a/sim/bfin/dv-bfin_wdog.c +++ b/sim/bfin/dv-bfin_wdog.c @@ -202,7 +202,8 @@ bfin_wdog_finish (struct hw *me) wdog->ctl = WDDIS; } -const struct hw_descriptor dv_bfin_wdog_descriptor[] = { +const struct hw_descriptor dv_bfin_wdog_descriptor[] = +{ {"bfin_wdog", bfin_wdog_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-bfin_wp.c b/sim/bfin/dv-bfin_wp.c index ba40026..9f35ac6 100644 --- a/sim/bfin/dv-bfin_wp.c +++ b/sim/bfin/dv-bfin_wp.c @@ -183,7 +183,8 @@ bfin_wp_finish (struct hw *me) attach_bfin_wp_regs (me, wp); } -const struct hw_descriptor dv_bfin_wp_descriptor[] = { +const struct hw_descriptor dv_bfin_wp_descriptor[] = +{ {"bfin_wp", bfin_wp_finish,}, {NULL, NULL}, }; diff --git a/sim/bfin/dv-eth_phy.c b/sim/bfin/dv-eth_phy.c index bc7413e..56aad6f 100644 --- a/sim/bfin/dv-eth_phy.c +++ b/sim/bfin/dv-eth_phy.c @@ -201,7 +201,8 @@ eth_phy_finish (struct hw *me) #endif -const struct hw_descriptor dv_eth_phy_descriptor[] = { +const struct hw_descriptor dv_eth_phy_descriptor[] = +{ {"eth_phy", eth_phy_finish,}, {NULL, NULL}, }; |