summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-05-05 07:55:36 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-06 18:01:05 -0700
commit880ffb5c6c5c8c8c6efd9efe9355317322b4603b (patch)
tree14dcec29fec290e480adec042bfcbb4ede12b005 /Documentation
parent3ccff540070b5adde7eec443676cfee1dd6b89fd (diff)
driver core: Add the device driver-model structures to kerneldoc
Add the comments to the structure bus_type, device_driver, device, class to device.h for generating the driver-model kerneldoc. With another patch these all removed from the files in Documentation/driver-model/ since they are out of date. That will keep things up to date and provide a better way to document this stuff. Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Acked-by: Harry Wei <harryxiyou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/device-drivers.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl
index 36f63d4a0a06..b638e50cf8f6 100644
--- a/Documentation/DocBook/device-drivers.tmpl
+++ b/Documentation/DocBook/device-drivers.tmpl
@@ -96,10 +96,10 @@ X!Iinclude/linux/kobject.h
<chapter id="devdrivers">
<title>Device drivers infrastructure</title>
+ <sect1><title>The Basic Device Driver-Model Structures </title>
+!Iinclude/linux/device.h
+ </sect1>
<sect1><title>Device Drivers Base</title>
-<!--
-X!Iinclude/linux/device.h
--->
!Edrivers/base/driver.c
!Edrivers/base/core.c
!Edrivers/base/class.c