ipmi: only register one si per bmc
authorMatthew Garrett <[email protected]>
Wed, 26 May 2010 21:43:46 +0000 (14:43 -0700)
committerLinus Torvalds <[email protected]>
Thu, 27 May 2010 16:12:49 +0000 (09:12 -0700)
commitd8cc5267b802003e2c67ac5254788044852ccfa9
tree3b45ebdb73cea591cfd162ca651d374723cf3fd8
parent2407d77a1a013b88ee3b817f2b934e420e5376f5
ipmi: only register one si per bmc

Only register one si per bmc.  Use any user-provided devices first,
followed by the first device with an irq, followed by the first device
discovered.

Signed-off-by: Matthew Garrett <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/char/ipmi/ipmi_si_intf.c