Phonet: allow phonet_device_init() to fail, put it to __init section
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4b8f704bea
commit
76e02cf694
@@ -36,8 +36,9 @@ struct phonet_device {
|
||||
DECLARE_BITMAP(addrs, 64);
|
||||
};
|
||||
|
||||
void phonet_device_init(void);
|
||||
int phonet_device_init(void);
|
||||
void phonet_device_exit(void);
|
||||
void phonet_netlink_register(void);
|
||||
struct net_device *phonet_device_get(struct net *net);
|
||||
|
||||
int phonet_address_add(struct net_device *dev, u8 addr);
|
||||
|
Reference in New Issue
Block a user