]> 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)
commit2b81d2c1c6ac017ff841fb435b1f4354fd2b8b17
tree30198f0017885db64601c0942dd20035b9609cf2
parent620339e9c56bc40995cb57d17f31865083e51f60
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