mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sbus bpp: instances missed in s/dev_name/bpp_dev_name/
@ 2008-05-21  1:06 Al Viro
  2008-05-22  0:25 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2008-05-21  1:06 UTC (permalink / raw)
  To: torvalds; +Cc: davem, linux-kernel

Content-Length: 1164
Lines: 39

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 drivers/sbus/char/bpp.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c
index b87037e..03c9660 100644
--- a/drivers/sbus/char/bpp.c
+++ b/drivers/sbus/char/bpp.c
@@ -869,7 +869,7 @@ static void probeLptPort(unsigned idx)
       instances[idx].mode = COMPATIBILITY;
       instances[idx].run_length = 0;
       instances[idx].run_flag = 0;
-      if (!request_region(lpAddr,3, dev_name)) return;
+      if (!request_region(lpAddr,3, bpp_dev_name)) return;
 
       /*
        * First, make sure the instance exists. Do this by writing to
@@ -1021,7 +1021,7 @@ static int __init bpp_init(void)
 	if (rc == 0)
 		return -ENODEV;
 
-	rc = register_chrdev(BPP_MAJOR, dev_name, &bpp_fops);
+	rc = register_chrdev(BPP_MAJOR, bpp_dev_name, &bpp_fops);
 	if (rc < 0)
 		return rc;
 
@@ -1037,7 +1037,7 @@ static void __exit bpp_cleanup(void)
 {
 	unsigned idx;
 
-	unregister_chrdev(BPP_MAJOR, dev_name);
+	unregister_chrdev(BPP_MAJOR, bpp_dev_name);
 
 	for (idx = 0;  idx < BPP_NO; idx++) {
 		if (instances[idx].present)
-- 
1.5.3.GIT



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sbus bpp: instances missed in s/dev_name/bpp_dev_name/
  2008-05-21  1:06 [PATCH] sbus bpp: instances missed in s/dev_name/bpp_dev_name/ Al Viro
@ 2008-05-22  0:25 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-05-22  0:25 UTC (permalink / raw)
  To: viro; +Cc: torvalds, linux-kernel

From: Al Viro <viro@ftp.linux.org.uk>
Date: Wed, 21 May 2008 02:06:41 +0100

> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Applied, thanks Al.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-22  0:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-21  1:06 [PATCH] sbus bpp: instances missed in s/dev_name/bpp_dev_name/ Al Viro
2008-05-22  0:25 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®