Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f3ad1ca authored by Michal Marek's avatar Michal Marek
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 565502f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -381,7 +381,7 @@ struct rioVersion *RIOVersid(void)
{
{
    strlcpy(stVersion.version, "RIO driver for linux V1.0",
    strlcpy(stVersion.version, "RIO driver for linux V1.0",
	    sizeof(stVersion.version));
	    sizeof(stVersion.version));
    strlcpy(stVersion.buildDate, __DATE__,
    strlcpy(stVersion.buildDate, "Aug 15 2010",
	    sizeof(stVersion.buildDate));
	    sizeof(stVersion.buildDate));


    return &stVersion;
    return &stVersion;