From 4958d3012f703139329af3c0c1c63eca4a3e8e23 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 5 Oct 2011 19:19:56 +0200 Subject: [PATCH] add a debug message when a device is created --- device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/device.c b/device.c index e953432..b260d50 100644 --- a/device.c +++ b/device.c @@ -353,6 +353,7 @@ device_create(const char *name, const struct device_type *type, struct device *odev = NULL, *dev; enum dev_change_type change; + D(DEVICE, "Create new device '%s' (%s)\n", name, type->name); odev = device_get(name, false); if (odev) { change = device_check_config(odev, config); -- 2.25.1