#define pr_fmt(fmt) …
#define CREATE_TRACE_POINTS
#include <linux/greybus.h>
#include "greybus_trace.h"
#define GB_BUNDLE_AUTOSUSPEND_MS …
static bool nogreybus;
#ifdef MODULE
module_param(nogreybus, bool, 0444);
#else
core_param(…);
#endif
int greybus_disabled(void)
{ … }
EXPORT_SYMBOL_GPL(…);
static int is_gb_host_device(const struct device *dev)
{ … }
static int is_gb_module(const struct device *dev)
{ … }
static int is_gb_interface(const struct device *dev)
{ … }
static int is_gb_control(const struct device *dev)
{ … }
static int is_gb_bundle(const struct device *dev)
{ … }
static int is_gb_svc(const struct device *dev)
{ … }
static bool greybus_match_one_id(struct gb_bundle *bundle,
const struct greybus_bundle_id *id)
{ … }
static const struct greybus_bundle_id *
greybus_match_id(struct gb_bundle *bundle, const struct greybus_bundle_id *id)
{ … }
static int greybus_match_device(struct device *dev, const struct device_driver *drv)
{ … }
static int greybus_uevent(const struct device *dev, struct kobj_uevent_env *env)
{ … }
static void greybus_shutdown(struct device *dev)
{ … }
const struct bus_type greybus_bus_type = …;
static int greybus_probe(struct device *dev)
{ … }
static int greybus_remove(struct device *dev)
{ … }
int greybus_register_driver(struct greybus_driver *driver, struct module *owner,
const char *mod_name)
{ … }
EXPORT_SYMBOL_GPL(…);
void greybus_deregister_driver(struct greybus_driver *driver)
{ … }
EXPORT_SYMBOL_GPL(…);
static int __init gb_init(void)
{ … }
module_init(…) …;
static void __exit gb_exit(void)
{ … }
module_exit(gb_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;