Skip to content

Commit

Permalink
rio: Drop __DATE__ usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Marek committed Apr 18, 2011
1 parent 565502f commit 9f3ad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/generic_serial/rio/rioinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f3ad1c

Please sign in to comment.