git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
dio
/
dio-sysfs.c
diff --git
a/drivers/dio/dio-sysfs.c
b/drivers/dio/dio-sysfs.c
index
d30591f
..
f464630
100644
(file)
--- a/
drivers/dio/dio-sysfs.c
+++ b/
drivers/dio/dio-sysfs.c
@@
-17,7
+17,7
@@
/* show configuration fields */
/* show configuration fields */
-static ssize_t dio_show_id(struct device *dev, char *buf)
+static ssize_t dio_show_id(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct dio_dev *d;
{
struct dio_dev *d;
@@
-26,7
+26,7
@@
static ssize_t dio_show_id(struct device *dev, char *buf)
}
static DEVICE_ATTR(id, S_IRUGO, dio_show_id, NULL);
}
static DEVICE_ATTR(id, S_IRUGO, dio_show_id, NULL);
-static ssize_t dio_show_ipl(struct device *dev, char *buf)
+static ssize_t dio_show_ipl(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct dio_dev *d;
{
struct dio_dev *d;
@@
-35,7
+35,7
@@
static ssize_t dio_show_ipl(struct device *dev, char *buf)
}
static DEVICE_ATTR(ipl, S_IRUGO, dio_show_ipl, NULL);
}
static DEVICE_ATTR(ipl, S_IRUGO, dio_show_ipl, NULL);
-static ssize_t dio_show_secid(struct device *dev, char *buf)
+static ssize_t dio_show_secid(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct dio_dev *d;
{
struct dio_dev *d;
@@
-44,7
+44,7
@@
static ssize_t dio_show_secid(struct device *dev, char *buf)
}
static DEVICE_ATTR(secid, S_IRUGO, dio_show_secid, NULL);
}
static DEVICE_ATTR(secid, S_IRUGO, dio_show_secid, NULL);
-static ssize_t dio_show_name(struct device *dev, char *buf)
+static ssize_t dio_show_name(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct dio_dev *d;
{
struct dio_dev *d;
@@
-53,7
+53,7
@@
static ssize_t dio_show_name(struct device *dev, char *buf)
}
static DEVICE_ATTR(name, S_IRUGO, dio_show_name, NULL);
}
static DEVICE_ATTR(name, S_IRUGO, dio_show_name, NULL);
-static ssize_t dio_show_resource(struct device *dev, char *buf)
+static ssize_t dio_show_resource(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct dio_dev *d = to_dio_dev(dev);
{
struct dio_dev *d = to_dio_dev(dev);