test_astlpc: Make more functions static
Nothing besides main() should be exposed.
Change-Id: Ie17cecae424d0d8c11f19f669e3fd47e1e67ecd3
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/tests/test_astlpc.c b/tests/test_astlpc.c
index 369702e..13d108a 100644
--- a/tests/test_astlpc.c
+++ b/tests/test_astlpc.c
@@ -62,8 +62,9 @@
#define binding_to_mmio(b) \
container_of(b, struct mctp_binding_astlpc_mmio, astlpc)
-int mctp_astlpc_mmio_kcs_read(void *data, enum mctp_binding_astlpc_kcs_reg reg,
- uint8_t *val)
+static int mctp_astlpc_mmio_kcs_read(void *data,
+ enum mctp_binding_astlpc_kcs_reg reg,
+ uint8_t *val)
{
struct mctp_binding_astlpc_mmio *mmio = binding_to_mmio(data);
@@ -77,8 +78,9 @@
return 0;
}
-int mctp_astlpc_mmio_kcs_write(void *data, enum mctp_binding_astlpc_kcs_reg reg,
- uint8_t val)
+static int mctp_astlpc_mmio_kcs_write(void *data,
+ enum mctp_binding_astlpc_kcs_reg reg,
+ uint8_t val)
{
struct mctp_binding_astlpc_mmio *mmio = binding_to_mmio(data);
@@ -135,7 +137,7 @@
len, type);
}
-const struct mctp_binding_astlpc_ops mctp_binding_astlpc_mmio_ops = {
+static const struct mctp_binding_astlpc_ops mctp_binding_astlpc_mmio_ops = {
.kcs_read = mctp_astlpc_mmio_kcs_read,
.kcs_write = mctp_astlpc_mmio_kcs_write,
.lpc_read = mctp_astlpc_mmio_lpc_read,