[PATCH] Driver Core: drivers/base - drivers/i2c/chips/adm1026.c: update device attrib...
[safe/jmp/linux-2.6] / drivers / char / tpm / tpm.c
index 8723533..8ce508b 100644 (file)
@@ -212,7 +212,7 @@ static u8 pcrread[] = {
        0, 0, 0, 0              /* PCR index */
 };
 
-static ssize_t show_pcrs(struct device *dev, char *buf)
+static ssize_t show_pcrs(struct device *dev, struct device_attribute *attr, char *buf)
 {
        u8 data[READ_PCR_RESULT_SIZE];
        ssize_t len;
@@ -255,7 +255,7 @@ static u8 readpubek[] = {
        0, 0, 0, 124,           /* TPM_ORD_ReadPubek */
 };
 
-static ssize_t show_pubek(struct device *dev, char *buf)
+static ssize_t show_pubek(struct device *dev, struct device_attribute *attr, char *buf)
 {
        u8 data[READ_PUBEK_RESULT_SIZE];
        ssize_t len;
@@ -330,7 +330,7 @@ static u8 cap_manufacturer[] = {
        0, 0, 1, 3
 };
 
-static ssize_t show_caps(struct device *dev, char *buf)
+static ssize_t show_caps(struct device *dev, struct device_attribute *attr, char *buf)
 {
        u8 data[READ_PUBEK_RESULT_SIZE];
        ssize_t len;