]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix build error for kernesl without RTC-LIB
authorRob Swindell <swindell@broadcom.com>
Tue, 20 Sep 2016 07:36:33 +0000 (03:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 07:53:49 +0000 (03:53 -0400)
commite8593c76ca0854cd7ac3c65f693a2fad0a4b7c46
tree30198f0017885db64601c0942dd20035b9609cf2
parent0fd15398b60c77a1b1c429564a261162895d6ba5
bnxt_en: Fix build error for kernesl without RTC-LIB

bnxt_hwrm_fw_set_time() now returns -EOPNOTSUPP when built for kernel
without RTC_LIB.  Setting the firmware time is not critical to the
successful completion of the firmware update process.

Signed-off-by: Rob Swindell <Rob.Swindell@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c