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)
commit878786d95e07ce2f5fb6e3cd8a6c2ed320339196
tree30198f0017885db64601c0942dd20035b9609cf2
parent5a7a5555a362f60350668cd124df9a396f546c61
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