diff options
author | Michal Marek <mmarek@suse.cz> | 2011-04-01 12:41:20 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-04-19 00:23:22 +0200 |
commit | 9f3ad1cab2a0357d5866d45413fa2ee3e88e496f (patch) | |
tree | 790ae3c9635925cf5cccbe6bf9671a943c042089 /drivers | |
parent | 565502f8894739ce7b5fd131f39c930dc4351710 (diff) | |
download | linux-3.10-9f3ad1cab2a0357d5866d45413fa2ee3e88e496f.tar.gz linux-3.10-9f3ad1cab2a0357d5866d45413fa2ee3e88e496f.tar.bz2 linux-3.10-9f3ad1cab2a0357d5866d45413fa2ee3e88e496f.zip |
rio: Drop __DATE__ usage
The kernel already prints its build timestamp during boot, no need to
repeat it in random drivers and produce different object files each
time. As the buildDate field is part of the userspace API, I replaced it
with the date of the last code change.
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/generic_serial/rio/rioinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/generic_serial/rio/rioinit.c b/drivers/staging/generic_serial/rio/rioinit.c index 24a282bb89d..fb62b383f1d 100644 --- a/drivers/staging/generic_serial/rio/rioinit.c +++ b/drivers/staging/generic_serial/rio/rioinit.c @@ -381,7 +381,7 @@ struct rioVersion *RIOVersid(void) { strlcpy(stVersion.version, "RIO driver for linux V1.0", sizeof(stVersion.version)); - strlcpy(stVersion.buildDate, __DATE__, + strlcpy(stVersion.buildDate, "Aug 15 2010", sizeof(stVersion.buildDate)); return &stVersion; |