]> git.sur5r.net Git - u-boot/blob - drivers/clk/at91/sckc.c
dm: Use dm.h header when driver mode is used
[u-boot] / drivers / clk / at91 / sckc.c
1 /*
2  * Copyright (C) 2016 Atmel Corporation
3  *               Wenyou.Yang <wenyou.yang@atmel.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #include <common.h>
9 #include <dm.h>
10
11 DECLARE_GLOBAL_DATA_PTR;
12
13 static const struct udevice_id at91_sckc_match[] = {
14         { .compatible = "atmel,at91sam9x5-sckc" },
15         {}
16 };
17
18 U_BOOT_DRIVER(at91_sckc) = {
19         .name = "at91-sckc",
20         .id = UCLASS_SIMPLE_BUS,
21         .of_match = at91_sckc_match,
22 };