- simplifies the array intialization
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@152 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
ef1abb5612
commit
0f72be1a9e
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ extern void irq15(void);
|
|||
* This array is actually an array of function pointers. We use
|
||||
* this to handle custom IRQ handlers for a given IRQ
|
||||
*/
|
||||
static void *irq_routines[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
static void *irq_routines[16] = {[0 ... 15] = NULL };
|
||||
|
||||
/* This installs a custom IRQ handler for the given IRQ */
|
||||
void irq_install_handler(unsigned int irq, irq_handler_t handler)
|
||||
|
|
Loading…
Add table
Reference in a new issue