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:
remi.denis-courmont@nokia
2009-01-23 03:00:27 +00:00
committed by David S. Miller
parent 4b8f704bea
commit 76e02cf694
4 changed files with 11 additions and 6 deletions

View File

@@ -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);