/* * Defines for the SRAM driver * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#ifndef __SRAM_H#define __SRAM_Hstructsram_partition{void__iomem*base;structgen_pool*pool;structbin_attributebattr;structmutexlock;structlist_headlist;};structsram_dev{structdevice*dev;void__iomem*virt_base;structgen_pool*pool;structclk*clk;structsram_partition*partition;u32partitions;};structsram_reserve{structlist_headlist;u32start;u32size;boolexport;boolpool;constchar*label;};#endif /* __SRAM_H */