]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: change addr_source to an enum rather than strings
authorMatthew Garrett <mjg@redhat.com>
Wed, 26 May 2010 21:43:45 +0000 (14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:49 +0000 (09:12 -0700)
commit1195d3d573adf89b33f8acaa1ea2b9d53c665d60
treecdbfc893d5c98b106e22f7f0c3f81ea1b9023bcc
parenteab6357d091f6a1d976f8dde426cf6aced5f6792
ipmi: change addr_source to an enum rather than strings

Switch from a char* to an enum to identify the address source of SIs,
making it easier to handle them appropriately during registration.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c