[PATCH] Doc: MODULE_SUPPORTED_DEVICE is not implemented

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The MODULE_SUPPORTED_DEVICE macro is documented as
    Not Yet Implemented

for over a decade now. It will clearly never be implemented. Remove a
reference to it from a DocBook template.

Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
---
Module "classes"? I removed that too.

Running "make xmldocs" always ends with
    make[1]: *** No rule to make target `xmldocs'.  Stop.
    make: *** [xmldocs] Error 2

for me. But writing-an-alsa-driver.xml was generated just fine, so that
must be something unrelated.

 Documentation/DocBook/writing-an-alsa-driver.tmpl | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Documentation/DocBook/writing-an-alsa-driver.tmpl b/Documentation/DocBook/writing-an-alsa-driver.tmpl
index 84ef6a90131c..6a2a346b4a22 100644
--- a/Documentation/DocBook/writing-an-alsa-driver.tmpl
+++ b/Documentation/DocBook/writing-an-alsa-driver.tmpl
@@ -5896,17 +5896,15 @@ struct _snd_pcm_runtime {
     </para>
 
     <para>
-      Also, don't forget to define the module description, classes,
-      license and devices. Especially, the recent modprobe requires to
-      define the module license as GPL, etc., otherwise the system is
-      shown as <quote>tainted</quote>. 
+      Also, don't forget to define the module description, and license.
+      Especially, the recent modprobe requires to define the module license as
+      GPL, etc., otherwise the system is shown as <quote>tainted</quote>.
 
       <informalexample>
         <programlisting>
 <![CDATA[
   MODULE_DESCRIPTION("My Chip");
   MODULE_LICENSE("GPL");
-  MODULE_SUPPORTED_DEVICE("{{Vendor,My Chip Name}}");
 ]]>
         </programlisting>
       </informalexample>
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux