ipmi: Add a reference from BMC devices to their interfaces
authorJeremy Kerr <jk@ozlabs.org>
Fri, 25 Aug 2017 07:47:22 +0000 (15:47 +0800)
committerCorey Minyard <cminyard@mvista.com>
Wed, 27 Sep 2017 21:03:45 +0000 (16:03 -0500)
commita9137c3dfae9f371e302ee3fc6658f0fe6b904e7
treed578baaca17eb9bbe8bc3dafc5733d938db0fcdf
parent511d57dc71a22514e106f79a878e788cb22f73e3
ipmi: Add a reference from BMC devices to their interfaces

In an upcoming change, we'll want to grab a reference to the ipmi_smi_t
from a struct bmc_device. This change adds a pointer to allow this.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Reworked to support multiple interfaces on a BMC.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c