mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
driver core: fix up missed drivers/s390/char/hmcdrv_dev.c class.devnode() conversion.
Fixes: ff62b8e658 ("driver core: make struct class.devnode() take a const *")
Link: https://lore.kernel.org/r/20221130123851.6a9f2242@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
69b14fde0b
commit
50dc8d18f6
|
|
@ -90,7 +90,7 @@ static dev_t hmcdrv_dev_no; /* device number (major/minor) */
|
|||
*
|
||||
* Return: recommended device file name in /dev
|
||||
*/
|
||||
static char *hmcdrv_dev_name(struct device *dev, umode_t *mode)
|
||||
static char *hmcdrv_dev_name(const struct device *dev, umode_t *mode)
|
||||
{
|
||||
char *nodename = NULL;
|
||||
const char *devname = dev_name(dev); /* kernel device name */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user