#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/property.h>
struct dwc3_haps { … };
static const struct property_entry initial_properties[] = …;
static const struct software_node dwc3_haps_swnode = …;
static int dwc3_haps_probe(struct pci_dev *pci,
const struct pci_device_id *id)
{ … }
static void dwc3_haps_remove(struct pci_dev *pci)
{ … }
static const struct pci_device_id dwc3_haps_id_table[] = …;
MODULE_DEVICE_TABLE(pci, dwc3_haps_id_table);
static struct pci_driver dwc3_haps_driver = …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
module_pci_driver(…) …;