summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/sama5d3_xplained/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/sama5d3_xplained/board.c')
-rw-r--r--arch/arm/boards/sama5d3_xplained/board.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boards/sama5d3_xplained/board.c b/arch/arm/boards/sama5d3_xplained/board.c
index 69357df0fb..4d908e6b9f 100644
--- a/arch/arm/boards/sama5d3_xplained/board.c
+++ b/arch/arm/boards/sama5d3_xplained/board.c
@@ -3,8 +3,8 @@
#include <common.h>
#include <init.h>
#include <envfs.h>
-#include <mach/at91sam9_smc.h>
-#include <mach/hardware.h>
+#include <mach/at91/at91sam9_smc.h>
+#include <mach/at91/hardware.h>
#include <linux/clk.h>
static struct sam9_smc_config sama5d3_xplained_nand_smc_config = {
@@ -35,7 +35,7 @@ static struct sam9_smc_config sama5d3_xplained_nand_smc_config = {
.nfsel = 1
};
-static int sama5d3_xplained_probe(struct device_d *dev)
+static int sama5d3_xplained_probe(struct device *dev)
{
struct clk *clk;
@@ -64,8 +64,9 @@ static const struct of_device_id sama5d3_xplained_of_match[] = {
{ .compatible = "atmel,sama5d3-xplained" },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, sama5d3_xplained_of_match);
-static struct driver_d sama5d3_xplained_board_driver = {
+static struct driver sama5d3_xplained_board_driver = {
.name = "board-sama5d3_xplained",
.probe = sama5d3_xplained_probe,
.of_compatible = sama5d3_xplained_of_match,