init: Simplify symbol name generated by DECLARE_DEVICE_INIT_CONFIG()
Gets rid of the trailing initialization level character from the name of the device variable generated by the macro, since it serves no useful purpose. (The linker scripts place the various initialization sections in ascending order based on the name of the section, so there is no need to embed the initialization level in the variable name itself.) Change-Id: I56bb79a513b8f77fb1f3fbaccec14454c2520772 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
86db1b37bd
commit
7b006066a4
10 changed files with 28 additions and 28 deletions
|
@ -156,7 +156,7 @@ void shared_irq_config_0_irq(struct device *port)
|
|||
|
||||
void shared_irq_isr_0(void *unused)
|
||||
{
|
||||
shared_irq_isr(&__initconfig_shared_irq_01);
|
||||
shared_irq_isr(&__initconfig_shared_irq_0);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SHARED_IRQ_0 */
|
||||
|
@ -188,7 +188,7 @@ void shared_irq_config_1_irq(struct device *port)
|
|||
|
||||
void shared_irq_isr_1(void *unused)
|
||||
{
|
||||
shared_irq_isr(&__initconfig_shared_irq_11);
|
||||
shared_irq_isr(&__initconfig_shared_irq_1);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SHARED_IRQ_1 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue