summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-15 10:18:55 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 19:04:31 +0100
commit7877327d9c360ac91f22e4c7f98bcb10c0180969 (patch)
tree4f042751811bb05b50d15ecf319dd248d12c6a73 /drivers/atm
parent[PATCH] arch/alpha/kernel/machvec_impl.h: C99 struct initializer (diff)
downloadlinux-7877327d9c360ac91f22e4c7f98bcb10c0180969.tar.xz
linux-7877327d9c360ac91f22e4c7f98bcb10c0180969.zip
[PATCH] drivers/atm/adummy.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/adummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/adummy.c b/drivers/atm/adummy.c
index d15c194be44a..d1387cfe2d30 100644
--- a/drivers/atm/adummy.c
+++ b/drivers/atm/adummy.c
@@ -123,7 +123,7 @@ static int __init adummy_init(void)
}
memset(adummy_dev, 0, sizeof(struct adummy_dev));
- atm_dev = atm_dev_register(DEV_LABEL, &adummy_ops, -1, 0);
+ atm_dev = atm_dev_register(DEV_LABEL, &adummy_ops, -1, NULL);
if (!atm_dev) {
printk(KERN_ERR DEV_LABEL ": atm_dev_register() failed\n");
err = -ENODEV;