[lkml]   [2008]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] UIO: Change driver name of uio_pdrv
Hi Greg,
I'm just about to use the generic UIO platform device driver in a
project. I noticed the driver registers itself simply as "uio". We
should choose a more unique name here. The oneliner below goes on top of
the other UIO patches you've got in your queue right now. This is not in
mainline yet.



The generic UIO platform device driver should be given a unique driver ID and
not just "uio". This is especially important since Magnus Damm announced a
similar driver named uio_pdrv_genirq. We should get the names right before
this hits mainline.

Signed-off-by: Hans J. Koch <>
drivers/uio/uio_pdrv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.26-rc/drivers/uio/uio_pdrv.c
--- linux-2.6.26-rc.orig/drivers/uio/uio_pdrv.c 2008-07-07 23:57:44.000000000 +0200
+++ linux-2.6.26-rc/drivers/uio/uio_pdrv.c 2008-07-07 23:58:26.000000000 +0200
@@ -12,7 +12,7 @@
#include <linux/uio_driver.h>
#include <linux/stringify.h>

-#define DRIVER_NAME "uio"
+#define DRIVER_NAME "uio_pdrv"

struct uio_platdata {
struct uio_info *uioinfo;

 \ /
  Last update: 2008-07-08 00:25    [W:0.040 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site