Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15732
b: refs/heads/master
c: 5bc4c36
h: refs/heads/master
v: v3
  • Loading branch information
Christophe Lucas authored and John W. Linville committed Nov 16, 2005
1 parent 1841463 commit f02e06c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d791aadf63c9d605bc9a4144e79d5756fc29fb3
refs/heads/master: 5bc4c36d7cd9f1605efeade67b3d27845a4affcd
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,7 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port,
struct device *sys_dev,
int (*card_present)(void *), void *card)
{
struct proc_dir_entry *ent;
struct net_device *dev;
struct atmel_private *priv;
int rc;
Expand Down Expand Up @@ -1624,7 +1625,9 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port,

netif_carrier_off(dev);

create_proc_read_entry ("driver/atmel", 0, NULL, atmel_read_proc, priv);
ent = create_proc_read_entry ("driver/atmel", 0, NULL, atmel_read_proc, priv);
if (!ent)
printk(KERN_WARNING "atmel: unable to create /proc entry.\n");

printk(KERN_INFO "%s: Atmel at76c50x. Version %d.%d. MAC %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
dev->name, DRIVER_MAJOR, DRIVER_MINOR,
Expand Down

0 comments on commit f02e06c

Please sign in to comment.