#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reset.h>
#include "denali.h"
struct denali_dt { … };
struct denali_dt_data { … };
NAND_ECC_CAPS_SINGLE(…);
static const struct denali_dt_data denali_socfpga_data = …;
NAND_ECC_CAPS_SINGLE(…);
static const struct denali_dt_data denali_uniphier_v5a_data = …;
NAND_ECC_CAPS_SINGLE(…);
static const struct denali_dt_data denali_uniphier_v5b_data = …;
static const struct of_device_id denali_nand_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, denali_nand_dt_ids);
static int denali_dt_chip_init(struct denali_controller *denali,
struct device_node *chip_np)
{ … }
static int denali_dt_probe(struct platform_device *pdev)
{ … }
static void denali_dt_remove(struct platform_device *pdev)
{ … }
static struct platform_driver denali_dt_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;