#include <linux/bug.h>
#include <linux/device.h>
#include <linux/export.h>
#include <linux/idr.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/peci.h>
#include <linux/pm_runtime.h>
#include <linux/property.h>
#include <linux/slab.h>
#include "internal.h"
static DEFINE_IDA(peci_controller_ida);
static void peci_controller_dev_release(struct device *dev)
{ … }
const struct device_type peci_controller_type = …;
int peci_controller_scan_devices(struct peci_controller *controller)
{ … }
static struct peci_controller *peci_controller_alloc(struct device *dev,
const struct peci_controller_ops *ops)
{ … }
static int unregister_child(struct device *dev, void *dummy)
{ … }
static void unregister_controller(void *_controller)
{ … }
struct peci_controller *devm_peci_controller_add(struct device *dev,
const struct peci_controller_ops *ops)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
static const struct peci_device_id *
peci_bus_match_device_id(const struct peci_device_id *id, struct peci_device *device)
{ … }
static int peci_bus_device_match(struct device *dev, const struct device_driver *drv)
{ … }
static int peci_bus_device_probe(struct device *dev)
{ … }
static void peci_bus_device_remove(struct device *dev)
{ … }
const struct bus_type peci_bus_type = …;
static int __init peci_init(void)
{ … }
module_init(…) …;
static void __exit peci_exit(void)
{ … }
module_exit(peci_exit);
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;