uio_pdrv: set memory mapping name
authorManuel Traut <manut@linutronix.de>
Fri, 9 Nov 2012 06:06:40 +0000 (07:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:29:07 +0000 (17:29 -0800)
commitecd43c0d7e504fde69e6e53ac63adfd2feea135a
tree5873eec6a3d1395a552e7d48e9af919880dc796e
parent6e8bd6e727c5ec949194087ac6b593e1e7fe79c4
uio_pdrv: set memory mapping name

If uio_pdrv[_genirq] is used, the uio maps have currently no name set.
This patch sets the uio_mem name to the name of the memory resource.

Signed-off-by: Manuel Traut <manut@linutronix.de>
Reported-by: Stefan Staedtler <stefan.staedtler@siemens.com>
Tested-by: Stefan Staedtler <stefan.staedtler@siemens.com>
Signed-off-by: "Hans J. Koch" <hjk@hansjkoch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_pdrv.c
drivers/uio/uio_pdrv_genirq.c