diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index 020c5830c37ddc6fafd59c1e9fc08c4e382175e9..fd3d2a7a1a241896ce50ee624ab4f0b360a98a25 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c @@ -144,6 +144,7 @@ static inline u32 smsc911x_reg_read(struct smsc911x_data *pdata, u32 reg) } BUG(); + return 0; } static inline void smsc911x_reg_write(struct smsc911x_data *pdata, u32 reg,