[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
@@ -38,7 +38,7 @@
|
||||
|
||||
/* A few routines that create sysfs entries for the hot plug controller */
|
||||
|
||||
static ssize_t show_ctrl (struct device *dev, char *buf)
|
||||
static ssize_t show_ctrl (struct device *dev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct pci_dev *pci_dev;
|
||||
struct controller *ctrl;
|
||||
@@ -82,7 +82,7 @@ static ssize_t show_ctrl (struct device *dev, char *buf)
|
||||
}
|
||||
static DEVICE_ATTR (ctrl, S_IRUGO, show_ctrl, NULL);
|
||||
|
||||
static ssize_t show_dev (struct device *dev, char *buf)
|
||||
static ssize_t show_dev (struct device *dev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct pci_dev *pci_dev;
|
||||
struct controller *ctrl;
|
||||
|
Reference in New Issue
Block a user