diff options
Diffstat (limited to 'drivers/misc/mem.c')
-rw-r--r-- | drivers/misc/mem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/mem.c b/drivers/misc/mem.c index 6dd7f687c9..0cf021cf97 100644 --- a/drivers/misc/mem.c +++ b/drivers/misc/mem.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2011 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix */ @@ -13,7 +13,7 @@ static struct cdev_operations memops = { .memmap = generic_memmap_rw, }; -static int mem_probe(struct device_d *dev) +static int mem_probe(struct device *dev) { struct cdev *cdev; @@ -41,14 +41,14 @@ static int mem_probe(struct device_d *dev) return 0; } -static struct driver_d mem_drv = { +static struct driver mem_drv = { .name = "mem", .probe = mem_probe, }; static int mem_init(void) { - struct device_d *dev; + struct device *dev; struct resource res = { .start = 0, .end = ~0, |