mirror of https://gitee.com/openkylin/linux.git
staging: ft1000: Change return value for init_ft1000_netdev function.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
6c284c7b06
commit
f135da0359
|
@ -710,7 +710,7 @@ static const struct net_device_ops ftnet_ops =
|
|||
// Notes:
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
u16 init_ft1000_netdev(struct ft1000_device *ft1000dev)
|
||||
int init_ft1000_netdev(struct ft1000_device *ft1000dev)
|
||||
{
|
||||
struct net_device *netdev;
|
||||
struct ft1000_info *pInfo = NULL;
|
||||
|
|
|
@ -589,7 +589,7 @@ void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist);
|
|||
char *getfw (char *fn, size_t *pimgsz);
|
||||
|
||||
int dsp_reload(struct ft1000_device *ft1000dev);
|
||||
u16 init_ft1000_netdev(struct ft1000_device *ft1000dev);
|
||||
int init_ft1000_netdev(struct ft1000_device *ft1000dev);
|
||||
struct usb_interface;
|
||||
int reg_ft1000_netdev(struct ft1000_device *ft1000dev, struct usb_interface *intf);
|
||||
int ft1000_poll(void* dev_id);
|
||||
|
|
Loading…
Reference in New Issue