projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb6e08
)
add a debug message when a device is created
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 17:19:56 +0000
(19:19 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 17:19:56 +0000
(19:19 +0200)
device.c
patch
|
blob
|
history
diff --git
a/device.c
b/device.c
index e9534322258777bc338900c707c60a0c310fd0cd..b260d50e5c66f45f9838715c36d4f9407d29f163 100644
(file)
--- 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);