#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mtd/hyperbus.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/of.h>
#include <linux/types.h>
static struct hyperbus_device *map_to_hbdev(struct map_info *map)
{ … }
static map_word hyperbus_read16(struct map_info *map, unsigned long addr)
{ … }
static void hyperbus_write16(struct map_info *map, map_word d,
unsigned long addr)
{ … }
static void hyperbus_copy_from(struct map_info *map, void *to,
unsigned long from, ssize_t len)
{ … }
static void hyperbus_copy_to(struct map_info *map, unsigned long to,
const void *from, ssize_t len)
{ … }
int hyperbus_register_device(struct hyperbus_device *hbdev)
{ … }
EXPORT_SYMBOL_GPL(…);
void hyperbus_unregister_device(struct hyperbus_device *hbdev)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;