Add the needed instances of EXPORT_SYMBOL() to tpmfront.c.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
shutdown_tpmfront(dev);
return NULL;
}
+EXPORT_SYMBOL(init_tpmfront);
+
void shutdown_tpmfront(struct tpmfront_dev* dev)
{
char* err;
}
free(dev);
}
+EXPORT_SYMBOL(shutdown_tpmfront);
int tpmfront_send(struct tpmfront_dev* dev, const uint8_t* msg, size_t length)
{
return 0;
}
+EXPORT_SYMBOL(tpmfront_cmd);
int tpmfront_set_locality(struct tpmfront_dev* dev, int locality)
{
dev->page->locality = locality;
return 0;
}
+EXPORT_SYMBOL(tpmfront_set_locality);
#ifdef HAVE_LIBC
#include <errno.h>
return dev->fd;
}
+EXPORT_SYMBOL(tpmfront_open);
#endif