sram.c (f01387d2693813eb5271a3448e6a082322c7d75d) sram.c (6893d9b51093cf499ee6217e98c50006ec2727c6)
1/*
2 * Generic on-chip SRAM allocation driver
3 *
4 * Copyright (C) 2012 Philipp Zabel, Pengutronix
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

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

200
201 if (sram->clk)
202 clk_disable_unprepare(sram->clk);
203
204 return 0;
205}
206
207#ifdef CONFIG_OF
1/*
2 * Generic on-chip SRAM allocation driver
3 *
4 * Copyright (C) 2012 Philipp Zabel, Pengutronix
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

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

200
201 if (sram->clk)
202 clk_disable_unprepare(sram->clk);
203
204 return 0;
205}
206
207#ifdef CONFIG_OF
208static struct of_device_id sram_dt_ids[] = {
208static const struct of_device_id sram_dt_ids[] = {
209 { .compatible = "mmio-sram" },
210 {}
211};
212#endif
213
214static struct platform_driver sram_driver = {
215 .driver = {
216 .name = "sram",

--- 12 unchanged lines hidden ---
209 { .compatible = "mmio-sram" },
210 {}
211};
212#endif
213
214static struct platform_driver sram_driver = {
215 .driver = {
216 .name = "sram",

--- 12 unchanged lines hidden ---