if no irq, that is, intenally, d_irq == -2, don't output a vector...
This commit is contained in:
parent
23af7ea092
commit
30904b9ec5
@ -798,7 +798,7 @@ struct device *dp;
|
||||
{
|
||||
static char buf[32+20];
|
||||
|
||||
if(dp->d_irq==-1)
|
||||
if(dp->d_irq==-2)
|
||||
return NULL;
|
||||
sprintf(buf, "V%.32s%d", dp->d_name, dp->d_unit);
|
||||
return buf;
|
||||
|
@ -798,7 +798,7 @@ struct device *dp;
|
||||
{
|
||||
static char buf[32+20];
|
||||
|
||||
if(dp->d_irq==-1)
|
||||
if(dp->d_irq==-2)
|
||||
return NULL;
|
||||
sprintf(buf, "V%.32s%d", dp->d_name, dp->d_unit);
|
||||
return buf;
|
||||
|
Loading…
Reference in New Issue
Block a user