]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: kcs_bmc: Split headers into device and client
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 8 Jun 2021 10:47:47 +0000 (20:17 +0930)
committerCorey Minyard <cminyard@mvista.com>
Tue, 22 Jun 2021 00:50:13 +0000 (19:50 -0500)
commitebd6132e1d21b74bf28f1517088d52ddb4c69ef5
treea1ce442f82c7cc0a365450cfa2278f0e18daa137
parent6c593f3ed46f1d6abc7c0d6f4c6decaa773017e9
ipmi: kcs_bmc: Split headers into device and client

Strengthen the distinction between code that abstracts the
implementation of the KCS behaviours (device drivers) and code that
exploits KCS behaviours (clients). Neither needs to know about the APIs
required by the other, so provide separate headers.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Message-Id: <20210608104757.582199-7-andrew@aj.id.au>
Reviewed-by: Zev Weiss <zweiss@equinix.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/kcs_bmc.c
drivers/char/ipmi/kcs_bmc.h
drivers/char/ipmi/kcs_bmc_aspeed.c
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
drivers/char/ipmi/kcs_bmc_client.h [new file with mode: 0644]
drivers/char/ipmi/kcs_bmc_device.h [new file with mode: 0644]
drivers/char/ipmi/kcs_bmc_npcm7xx.c