#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/firmware.h>
#include "cypress_firmware.h"
struct usb_cypress_controller { … };
static const struct usb_cypress_controller cypress[] = …;
static int usb_cypress_writemem(struct usb_device *udev, u16 addr, u8 *data,
u8 len)
{ … }
static int cypress_get_hexline(const struct firmware *fw,
struct hexline *hx, int *pos)
{ … }
int cypress_load_firmware(struct usb_device *udev,
const struct firmware *fw, int type)
{ … }
EXPORT_SYMBOL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;