diff options
-rw-r--r-- | arch/powerpc/sysdev/mv64x60_pci.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_pci.c b/arch/powerpc/sysdev/mv64x60_pci.c index 9b3baa7317d7..6933f9c73b43 100644 --- a/arch/powerpc/sysdev/mv64x60_pci.c +++ b/arch/powerpc/sysdev/mv64x60_pci.c | |||
@@ -24,8 +24,9 @@ | |||
24 | #define MV64X60_VAL_LEN_MAX 11 | 24 | #define MV64X60_VAL_LEN_MAX 11 |
25 | #define MV64X60_PCICFG_CPCI_HOTSWAP 0x68 | 25 | #define MV64X60_PCICFG_CPCI_HOTSWAP 0x68 |
26 | 26 | ||
27 | static ssize_t mv64x60_hs_reg_read(struct kobject *kobj, char *buf, loff_t off, | 27 | static ssize_t mv64x60_hs_reg_read(struct kobject *kobj, |
28 | size_t count) | 28 | struct bin_attribute *attr, char *buf, |
29 | loff_t off, size_t count) | ||
29 | { | 30 | { |
30 | struct pci_dev *phb; | 31 | struct pci_dev *phb; |
31 | u32 v; | 32 | u32 v; |
@@ -44,8 +45,9 @@ static ssize_t mv64x60_hs_reg_read(struct kobject *kobj, char *buf, loff_t off, | |||
44 | return sprintf(buf, "0x%08x\n", v); | 45 | return sprintf(buf, "0x%08x\n", v); |
45 | } | 46 | } |
46 | 47 | ||
47 | static ssize_t mv64x60_hs_reg_write(struct kobject *kobj, char *buf, loff_t off, | 48 | static ssize_t mv64x60_hs_reg_write(struct kobject *kobj, |
48 | size_t count) | 49 | struct bin_attribute *attr, char *buf, |
50 | loff_t off, size_t count) | ||
49 | { | 51 | { |
50 | struct pci_dev *phb; | 52 | struct pci_dev *phb; |
51 | u32 v; | 53 | u32 v; |