diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2010-12-05 01:08:58 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2010-12-05 01:08:58 +0100 |
commit | ada462e8e41f90dd54076f04168f7364a59308c1 (patch) | |
tree | 9bfcffc6c00ee42ffde7cd51b07fc7428dc45463 | |
parent | 28ab1260e9e60c1ffcb85bbb0846f123acc89bd7 (diff) | |
download | ldd3-ada462e8e41f90dd54076f04168f7364a59308c1.tar.gz |
add struct device_attribute parameter to sculld_show_dev()
-rw-r--r-- | sculld/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sculld/main.c b/sculld/main.c index d91c48f..1039d84 100644 --- a/sculld/main.c +++ b/sculld/main.c @@ -540,7 +540,7 @@ static void sculld_setup_cdev(struct sculld_dev *dev, int index) printk(KERN_NOTICE "Error %d adding scull%d", err, index); } -static ssize_t sculld_show_dev(struct device *ddev, char *buf) +static ssize_t sculld_show_dev(struct device *ddev, struct device_attribute *attr, char *buf) { struct sculld_dev *dev = dev_get_drvdata(ddev); |