diff options
-rw-r--r-- | drivers/spi/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 1041cb83d67a..84c2861d6f4d 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c | |||
@@ -53,7 +53,7 @@ modalias_show(struct device *dev, struct device_attribute *a, char *buf) | |||
53 | { | 53 | { |
54 | const struct spi_device *spi = to_spi_device(dev); | 54 | const struct spi_device *spi = to_spi_device(dev); |
55 | 55 | ||
56 | return sprintf(buf, "%s\n", spi->modalias); | 56 | return sprintf(buf, "%s%s\n", SPI_MODULE_PREFIX, spi->modalias); |
57 | } | 57 | } |
58 | 58 | ||
59 | static struct device_attribute spi_dev_attrs[] = { | 59 | static struct device_attribute spi_dev_attrs[] = { |