From 7ce1b8358a8c41d2f00e93cfd614dd445c2d1a5c Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 15 Nov 2019 23:52:13 +0100 Subject: New image API This allows to remove conversion responsibility from devices so that image treatments can be made on raw data. Now clients must unref images when they are not used, the driver can check this. --- device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device.c') diff --git a/device.c b/device.c index 549cce8..cfc8783 100644 --- a/device.c +++ b/device.c @@ -104,7 +104,7 @@ device_start(struct device *device) device->start(device); } -const struct device_image * +struct image * device_read(struct device *device) { return device->read(device); -- cgit v1.2.3