static ssize_t show_caps(struct device *dev, char *buf) 
static ssize_t show_caps(struct device *dev, struct device_attribute *attr, char *buf) 
static ssize_t show_caps(struct device *dev, char *buf){	u8 data[READ_PUBEK_RESULT_SIZE];	ssize_t len;	char *str = buf;	struct tpm_chip *chip =	    pci_get_drvdata(container_of(dev, struct pci_dev, dev));	if (chip == NULL)		return -ENODEV;	memcpy(data, cap_manufacturer, sizeof(cap_manufacturer));	if ((len = tpm_transmit(chip, data, sizeof(data))) <	    CAP_MANUFACTURER_RESULT_SIZE)		return len;	str += sprintf(str, "Manufacturer: 0x%x\n",		       be32_to_cpu(*(data + 14)));	memcpy(data, cap_version, sizeof(cap_version));	if ((len = tpm_transmit(chip, data, sizeof(data))) <	    CAP_VER_RESULT_SIZE)		return len;	str +=	    sprintf(str, "TCG version: %d.%d\nFirmware version: %d.%d\n",		    (int) data[14], (int) data[15], (int) data[16],		    (int) data[17]);	return str - buf;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/74880c063b06efd103c924abfe19d9d8fa4864c4/tpm.c/clean/drivers/char/tpm/tpm.c