#define pr_fmt(fmt) …
#include <linux/firmware.h>
#include <linux/greybus.h>
#include "firmware.h"
#include "spilib.h"
struct gb_fw_core { … };
static struct spilib_ops *spilib_ops;
struct gb_connection *to_fw_mgmt_connection(struct device *dev)
{ … }
static int gb_fw_spi_connection_init(struct gb_connection *connection)
{ … }
static void gb_fw_spi_connection_exit(struct gb_connection *connection)
{ … }
static int gb_fw_core_probe(struct gb_bundle *bundle,
const struct greybus_bundle_id *id)
{ … }
static void gb_fw_core_disconnect(struct gb_bundle *bundle)
{ … }
static const struct greybus_bundle_id gb_fw_core_id_table[] = …;
static struct greybus_driver gb_fw_core_driver = …;
static int fw_core_init(void)
{ … }
module_init(…) …;
static void __exit fw_core_exit(void)
{ … }
module_exit(fw_core_exit);
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;