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)
commit5fedc4a282f0c6f5be5e4bebc8840f6022153bb3
treecdbfc893d5c98b106e22f7f0c3f81ea1b9023bcc
parent4de85cd6d6018825e19f76f1208775f23ecc393f
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