Re: [patch] irda: fix !PNP support in drivers/net/irda/nsc-ircc.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <linux-kernel@...>, <samuel@...>, <dtor_core@...>
Date: Monday, May 5, 2008 - 3:58 am

* David Miller <davem@davemloft.net> wrote:


i just used the existing precedent of doing the #ifdef: it's not _that_ 
bad as it surrounds a single function most of the time so it's rather 
apparent what is happening - and that is what is done in some other 
drivers as well.

btw., when i fixed this i almost implemented it the way that you 
suggested, but there's also a code size argument to when the suspend 
callbacks are not used: the extra dummy function takes up text space, 
and people turn off PNP when they build some specialized thing and try 
to reduce the size of the kernel.

but in any case, i have no strong feelings in either direction.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] irda: fix !PNP support in drivers/net/irda/nsc-i..., Ingo Molnar, (Mon May 5, 3:58 am)