summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.h b/device.h
index 0406dcf..913f3a9 100644
--- a/device.h
+++ b/device.h
@@ -120,7 +120,7 @@ struct device_hotplug_ops {
};
static inline void
-free_device(struct device *dev)
+device_free(struct device *dev)
{
dev->type->free(dev);
}