aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-04-19 10:37:44 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-03 09:25:57 -0400
commita796ef7035c6c5cc5726c3e4e8d71175c13828df (patch)
treef958b0842a7e4800034e24e07b6a1c71406ee75b /drivers/scsi
parentffd7858dd8ebb93fad700b830b3b9f6d024c9eac (diff)
[ARM] rpc: acornscsi: stop using private __stringify()
The kernel has its own, so let's use that instead. Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/arm/acornscsi.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c
index 157ac1bf16fc..a2f8113c3b08 100644
--- a/drivers/scsi/arm/acornscsi.c
+++ b/drivers/scsi/arm/acornscsi.c
@@ -123,12 +123,6 @@
123#define DBG(cmd,xxx...) xxx 123#define DBG(cmd,xxx...) xxx
124#endif 124#endif
125 125
126#ifndef STRINGIFY
127#define STRINGIFY(x) #x
128#endif
129#define STRx(x) STRINGIFY(x)
130#define NO_WRITE_STR STRx(NO_WRITE)
131
132#include <linux/module.h> 126#include <linux/module.h>
133#include <linux/kernel.h> 127#include <linux/kernel.h>
134#include <linux/string.h> 128#include <linux/string.h>
@@ -141,6 +135,7 @@
141#include <linux/interrupt.h> 135#include <linux/interrupt.h>
142#include <linux/init.h> 136#include <linux/init.h>
143#include <linux/bitops.h> 137#include <linux/bitops.h>
138#include <linux/stringify.h>
144 139
145#include <asm/system.h> 140#include <asm/system.h>
146#include <asm/io.h> 141#include <asm/io.h>
@@ -2828,7 +2823,7 @@ char *acornscsi_info(struct Scsi_Host *host)
2828 " LINK" 2823 " LINK"
2829#endif 2824#endif
2830#if (DEBUG & DEBUG_NO_WRITE) 2825#if (DEBUG & DEBUG_NO_WRITE)
2831 " NOWRITE ("NO_WRITE_STR")" 2826 " NOWRITE (" __stringify(NO_WRITE) ")"
2832#endif 2827#endif
2833 , host->hostt->name, host->io_port, host->irq, 2828 , host->hostt->name, host->io_port, host->irq,
2834 VER_MAJOR, VER_MINOR, VER_PATCH); 2829 VER_MAJOR, VER_MINOR, VER_PATCH);
@@ -2859,7 +2854,7 @@ int acornscsi_proc_info(struct Scsi_Host *instance, char *buffer, char **start,
2859 " LINK" 2854 " LINK"
2860#endif 2855#endif
2861#if (DEBUG & DEBUG_NO_WRITE) 2856#if (DEBUG & DEBUG_NO_WRITE)
2862 " NOWRITE ("NO_WRITE_STR")" 2857 " NOWRITE (" __stringify(NO_WRITE) ")"
2863#endif 2858#endif
2864 "\n\n", VER_MAJOR, VER_MINOR, VER_PATCH); 2859 "\n\n", VER_MAJOR, VER_MINOR, VER_PATCH);
2865 2860