Update of /cvsroot/gc-linux/linux/Documentation
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26228/Documentation
Modified Files:
exi.txt
Log Message:
structs exi_device_id and exi_driver are static.
Index: exi.txt
===================================================================
RCS file: /cvsroot/gc-linux/linux/Documentation/exi.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- exi.txt 3 Mar 2004 23:04:08 -0000 1.1
+++ exi.txt 15 Mar 2004 00:06:56 -0000 1.2
@@ -8,8 +8,8 @@
---------------
When writing drivers for devices attached to the EXI bus, do not bother with
-device probing, removal, hotplug and PM events. The bus driver already takes
-care of this.
+device probing, removal and hotplug events. The bus driver already takes care
+of this.
Registration:
@@ -24,12 +24,12 @@
`id_table' is a list of device IDs the driver claims to support. These
should be taken from include/linux/exi_ids.h:
- struct exi_device_id frob_id_table[] = {
+ static struct exi_device_id frob_id_table[] = {
{ EXI_ID_FROB0 },
{ EXI_ID_FROB1 },
};
- struct exi_driver frob_driver = {
+ static struct exi_driver frob_driver = {
.name = "frob",
.id_table = frob_id_table,
};
|