- 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:
stefan 2010-09-08 12:11:11 +00:00
parent ef1abb5612
commit 0f72be1a9e

View file

@ -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)