diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2012-01-31 00:12:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 09:32:10 -0800 |
commit | 3bdb54fc548316196f752010a44dd221a220f53b (patch) | |
tree | 1c68289a5a64b35f9c2768d880944e60ce378ad2 /drivers/staging/tidspbridge | |
parent | 4f8aae5375e429b003a72a37d8ece6e1b99e486e (diff) | |
download | op-kernel-dev-3bdb54fc548316196f752010a44dd221a220f53b.zip op-kernel-dev-3bdb54fc548316196f752010a44dd221a220f53b.tar.gz |
staging: tidspbridge: use the driver name string
Instead of assign it to a global variable which is not used anymore.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/tidspbridge')
-rw-r--r-- | drivers/staging/tidspbridge/rmgr/drv_interface.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/rmgr/drv_interface.c b/drivers/staging/tidspbridge/rmgr/drv_interface.c index 5f810b6..93fc862 100644 --- a/drivers/staging/tidspbridge/rmgr/drv_interface.c +++ b/drivers/staging/tidspbridge/rmgr/drv_interface.c @@ -52,7 +52,6 @@ #endif /* ----------------------------------- Globals */ -#define DRIVER_NAME "DspBridge" #define DSPBRIDGE_VERSION "0.3" s32 dsp_debug; @@ -121,8 +120,6 @@ MODULE_AUTHOR("Texas Instruments"); MODULE_LICENSE("GPL"); MODULE_VERSION(DSPBRIDGE_VERSION); -static char *driver_name = DRIVER_NAME; - /* * This function is called when an application opens handle to the * bridge driver. @@ -490,7 +487,7 @@ static int __devinit omap34_xx_bridge_probe(struct platform_device *pdev) goto err1; /* use 2.6 device model */ - err = alloc_chrdev_region(&dev, 0, 1, driver_name); + err = alloc_chrdev_region(&dev, 0, 1, "DspBridge"); if (err) { pr_err("%s: Can't get major %d\n", __func__, driver_major); goto err1; |