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)
commitfaae6e391eda73a5b9870c78349064282a625bfa
treea1ce442f82c7cc0a365450cfa2278f0e18daa137
parentd7096970075ef47c9906fd241cc4939cc11ddd01
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