You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a5099cfc2e
commit
e404e274f6
+2
-2
@@ -140,7 +140,7 @@ static void pnp_release_card(struct device *dmdev)
|
||||
}
|
||||
|
||||
|
||||
static ssize_t pnp_show_card_name(struct device *dmdev, char *buf)
|
||||
static ssize_t pnp_show_card_name(struct device *dmdev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
char *str = buf;
|
||||
struct pnp_card *card = to_pnp_card(dmdev);
|
||||
@@ -150,7 +150,7 @@ static ssize_t pnp_show_card_name(struct device *dmdev, char *buf)
|
||||
|
||||
static DEVICE_ATTR(name,S_IRUGO,pnp_show_card_name,NULL);
|
||||
|
||||
static ssize_t pnp_show_card_ids(struct device *dmdev, char *buf)
|
||||
static ssize_t pnp_show_card_ids(struct device *dmdev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
char *str = buf;
|
||||
struct pnp_card *card = to_pnp_card(dmdev);
|
||||
|
||||
Reference in New Issue
Block a user