at91sam9g45.c (9d4d8572a539ef807e21c196f145aa365fd52f0e) at91sam9g45.c (428d97e18594bc2c5cfd7207dff883384bac6822)
1// SPDX-License-Identifier: GPL-2.0
2#include <linux/clk-provider.h>
3#include <linux/mfd/syscon.h>
4#include <linux/slab.h>
5
6#include <dt-bindings/clock/at91.h>
7
8#include "pmc.h"

--- 214 unchanged lines hidden (view full) ---

223
224err_free:
225 kfree(at91sam9g45_pmc);
226}
227/*
228 * The TCB is used as the clocksource so its clock is needed early. This means
229 * this can't be a platform driver.
230 */
1// SPDX-License-Identifier: GPL-2.0
2#include <linux/clk-provider.h>
3#include <linux/mfd/syscon.h>
4#include <linux/slab.h>
5
6#include <dt-bindings/clock/at91.h>
7
8#include "pmc.h"

--- 214 unchanged lines hidden (view full) ---

223
224err_free:
225 kfree(at91sam9g45_pmc);
226}
227/*
228 * The TCB is used as the clocksource so its clock is needed early. This means
229 * this can't be a platform driver.
230 */
231CLK_OF_DECLARE_DRIVER(at91sam9g45_pmc, "atmel,at91sam9g45-pmc",
232 at91sam9g45_pmc_setup);
231CLK_OF_DECLARE(at91sam9g45_pmc, "atmel,at91sam9g45-pmc", at91sam9g45_pmc_setup);