diff options
author | Tony Luck <tony.luck@intel.com> | 2005-06-21 19:21:20 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-06-21 19:21:20 -0400 |
commit | 29516d75a0b09e0a0328dd55c98a342515c9615a (patch) | |
tree | 4b03326311958ad6de82653a1caf289ad8c38538 /drivers/mmc/mmc_sysfs.c | |
parent | 4ea78729b8dbfc400fe165a57b90a394a7275a54 (diff) | |
parent | 4a4f8fdba6f5a34ca90f426021e17491a30202da (diff) |
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'drivers/mmc/mmc_sysfs.c')
-rw-r--r-- | drivers/mmc/mmc_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc_sysfs.c b/drivers/mmc/mmc_sysfs.c index 29a56e9cd5b3..5556cd3b5559 100644 --- a/drivers/mmc/mmc_sysfs.c +++ b/drivers/mmc/mmc_sysfs.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #define to_mmc_driver(d) container_of(d, struct mmc_driver, drv) | 22 | #define to_mmc_driver(d) container_of(d, struct mmc_driver, drv) |
23 | 23 | ||
24 | #define MMC_ATTR(name, fmt, args...) \ | 24 | #define MMC_ATTR(name, fmt, args...) \ |
25 | static ssize_t mmc_##name##_show (struct device *dev, char *buf) \ | 25 | static ssize_t mmc_##name##_show (struct device *dev, struct device_attribute *attr, char *buf) \ |
26 | { \ | 26 | { \ |
27 | struct mmc_card *card = dev_to_mmc_card(dev); \ | 27 | struct mmc_card *card = dev_to_mmc_card(dev); \ |
28 | return sprintf(buf, fmt, args); \ | 28 | return sprintf(buf, fmt, args); \ |