diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-08-17 02:42:59 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-08-29 23:31:56 -0400 |
commit | fb120da678c517f72d4b39932062c2191827b331 (patch) | |
tree | 0ae6b9d42e0c66293c3cc567f2f8279ca2e89cde /drivers/char/hvc_vio.c | |
parent | 71d276d751ff5ddba28312aecefb174b20a5b970 (diff) |
[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>
Diffstat (limited to 'drivers/char/hvc_vio.c')
-rw-r--r-- | drivers/char/hvc_vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c index 60bb9152b832..78d681dc35a8 100644 --- a/drivers/char/hvc_vio.c +++ b/drivers/char/hvc_vio.c | |||
@@ -39,7 +39,7 @@ char hvc_driver_name[] = "hvc_console"; | |||
39 | 39 | ||
40 | static struct vio_device_id hvc_driver_table[] __devinitdata = { | 40 | static struct vio_device_id hvc_driver_table[] __devinitdata = { |
41 | {"serial", "hvterm1"}, | 41 | {"serial", "hvterm1"}, |
42 | { NULL, } | 42 | { "", "" } |
43 | }; | 43 | }; |
44 | MODULE_DEVICE_TABLE(vio, hvc_driver_table); | 44 | MODULE_DEVICE_TABLE(vio, hvc_driver_table); |
45 | 45 | ||