diff options
author | Steve French <sfrench@us.ibm.com> | 2005-06-22 21:26:47 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-06-22 21:26:47 -0400 |
commit | ea0daab4ae4a2f853f06c76961c0ed324fd0804c (patch) | |
tree | f6fbe2db5772695181b7a7257b05e43343bd8d75 /drivers/video/gbefb.c | |
parent | 58aab753de605c14b9878a897e7349c3063afeff (diff) | |
parent | 1bdf7a78c2b21fb94dfe7994dbe89310b18479d2 (diff) |
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
Diffstat (limited to 'drivers/video/gbefb.c')
-rw-r--r-- | drivers/video/gbefb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index 2a023282d7a3..d3c1922cb13a 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c | |||
@@ -1045,14 +1045,14 @@ static struct fb_ops gbefb_ops = { | |||
1045 | * sysfs | 1045 | * sysfs |
1046 | */ | 1046 | */ |
1047 | 1047 | ||
1048 | static ssize_t gbefb_show_memsize(struct device *dev, char *buf) | 1048 | static ssize_t gbefb_show_memsize(struct device *dev, struct device_attribute *attr, char *buf) |
1049 | { | 1049 | { |
1050 | return snprintf(buf, PAGE_SIZE, "%d\n", gbe_mem_size); | 1050 | return snprintf(buf, PAGE_SIZE, "%d\n", gbe_mem_size); |
1051 | } | 1051 | } |
1052 | 1052 | ||
1053 | static DEVICE_ATTR(size, S_IRUGO, gbefb_show_memsize, NULL); | 1053 | static DEVICE_ATTR(size, S_IRUGO, gbefb_show_memsize, NULL); |
1054 | 1054 | ||
1055 | static ssize_t gbefb_show_rev(struct device *device, char *buf) | 1055 | static ssize_t gbefb_show_rev(struct device *device, struct device_attribute *attr, char *buf) |
1056 | { | 1056 | { |
1057 | return snprintf(buf, PAGE_SIZE, "%d\n", gbe_revision); | 1057 | return snprintf(buf, PAGE_SIZE, "%d\n", gbe_revision); |
1058 | } | 1058 | } |