diff options
author | Erik Hovland <erik@hovland.org> | 2007-02-17 13:29:21 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-17 13:29:21 -0500 |
commit | be7d2f775c788a1891f0f600537f130178448b20 (patch) | |
tree | d0558ca15f3707781b8ae6f30a4c59e73b8f35ed /Documentation | |
parent | 1b3c3714cb4767d00f507cc6854d3339d82c5b9d (diff) |
trivial documentation patch for platform.txt
Found a couple of typos in the Documentation/driver-model/platform.txt
file. This patch fixes both of them.
Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-model/platform.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/driver-model/platform.txt b/Documentation/driver-model/platform.txt index 9f0bc3bfd776..f7c9262b2dc8 100644 --- a/Documentation/driver-model/platform.txt +++ b/Documentation/driver-model/platform.txt | |||
@@ -66,7 +66,7 @@ runtime memory footprint: | |||
66 | 66 | ||
67 | Device Enumeration | 67 | Device Enumeration |
68 | ~~~~~~~~~~~~~~~~~~ | 68 | ~~~~~~~~~~~~~~~~~~ |
69 | As a rule, platform specific (and often board-specific) setup code wil | 69 | As a rule, platform specific (and often board-specific) setup code will |
70 | register platform devices: | 70 | register platform devices: |
71 | 71 | ||
72 | int platform_device_register(struct platform_device *pdev); | 72 | int platform_device_register(struct platform_device *pdev); |
@@ -106,7 +106,7 @@ It's built from two components: | |||
106 | * platform_device.id ... the device instance number, or else "-1" | 106 | * platform_device.id ... the device instance number, or else "-1" |
107 | to indicate there's only one. | 107 | to indicate there's only one. |
108 | 108 | ||
109 | These are catenated, so name/id "serial"/0 indicates bus_id "serial.0", and | 109 | These are concatenated, so name/id "serial"/0 indicates bus_id "serial.0", and |
110 | "serial/3" indicates bus_id "serial.3"; both would use the platform_driver | 110 | "serial/3" indicates bus_id "serial.3"; both would use the platform_driver |
111 | named "serial". While "my_rtc"/-1 would be bus_id "my_rtc" (no instance id) | 111 | named "serial". While "my_rtc"/-1 would be bus_id "my_rtc" (no instance id) |
112 | and use the platform_driver called "my_rtc". | 112 | and use the platform_driver called "my_rtc". |