Merge tag 'bcm2835-drivers-next-2017-12-19' into drivers/next
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 21 Dec 2017 01:34:40 +0000 (17:34 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 21 Dec 2017 01:34:40 +0000 (17:34 -0800)
This pull request brings in a (cosmetic) y2038 fix for the Raspberry
Pi firmware driver.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/firmware/raspberrypi.c

index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..6692888f04cfb8be4824f64efb3222f398937c3c 100644 (file)
@@ -174,7 +174,7 @@ rpi_firmware_print_firmware_revision(struct rpi_firmware *fw)
        if (ret == 0) {
                struct tm tm;
 
-               time_to_tm(packet, 0, &tm);
+               time64_to_tm(packet, 0, &tm);
 
                dev_info(fw->cl.dev,
                         "Attached to firmware from %04ld-%02d-%02d %02d:%02d\n",