[PATCH] Make MODULE_DEVICE_TABLE work for vio devices

Make MODULE_DEVICE_TABLE work for vio devices.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Stephen Rothwell
2005-08-17 16:42:59 +10:00
committed by Paul Mackerras
parent 71d276d751
commit fb120da678
12 changed files with 35 additions and 15 deletions

View File

@@ -527,7 +527,7 @@ static int khvcsd(void *unused)
static struct vio_device_id hvcs_driver_table[] __devinitdata= {
{"serial-server", "hvterm2"},
{ NULL, }
{ "", "" }
};
MODULE_DEVICE_TABLE(vio, hvcs_driver_table);