summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-12-07 16:43:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-12-07 16:43:21 +0100
commit8f32824c6e374092f3c1dec431e5e83f839353fe (patch)
tree9ceed735e77d1329ebf70c9f9abb78263358d2dd /include/driver.h
parent759946809a350b0a8158842924ab139e93eeef13 (diff)
parentbba73109ce1f54c7ffca044b00aacb320be888c2 (diff)
downloadbarebox-8f32824c6e374092f3c1dec431e5e83f839353fe.tar.gz
barebox-8f32824c6e374092f3c1dec431e5e83f839353fe.tar.xz
Merge branch 'for-next/phylib'
Conflicts: drivers/net/phy/phy.c
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
index c2beeb8eb7..98df4a12e7 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -148,6 +148,11 @@ struct driver_d {
int register_driver(struct driver_d *);
int register_device(struct device_d *);
+/* manualy probe a device
+ * the driver need to be specified
+ */
+int device_probe(struct device_d *dev);
+
/* Unregister a device. This function can fail, e.g. when the device
* has children.
*/