summaryrefslogtreecommitdiffstats
path: root/src/soc/nvidia/tegra124/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra124/soc.c')
-rw-r--r--src/soc/nvidia/tegra124/soc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/nvidia/tegra124/soc.c b/src/soc/nvidia/tegra124/soc.c
index ffc8771d7d33..00c7009e9aa2 100644
--- a/src/soc/nvidia/tegra124/soc.c
+++ b/src/soc/nvidia/tegra124/soc.c
@@ -14,7 +14,7 @@
* Will break if we get 2. Sigh.
* We assume it's all multiples of MiB for MMUs sake.
*/
-static void soc_enable(struct device *dev)
+static void soc_read_resources(struct device *dev)
{
u32 lcdbase = fb_base_mb();
unsigned long fb_size = FB_SIZE_MB;
@@ -41,9 +41,8 @@ static void soc_init(struct device *dev)
}
static struct device_operations soc_ops = {
- .read_resources = noop_read_resources,
+ .read_resources = soc_read_resources,
.set_resources = noop_set_resources,
- .enable_resources = soc_enable,
.init = soc_init,
};