Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74081
b: refs/heads/master
c: cdb3270
h: refs/heads/master
i:
  74079: 8585143
v: v3
  • Loading branch information
Mikulas Patocka authored and Linus Torvalds committed Nov 27, 2007
1 parent 1b4318e commit 52d757e
Show file tree
Hide file tree
Showing 3 changed files with 6 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: f6ce5cca74b8681fdf1d7307edc66a7213b43f6f
refs/heads/master: cdb32706f6948238ed6d1d85473c64c27366e9e9
4 changes: 4 additions & 0 deletions trunk/Documentation/parport-lowlevel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ Use this function to register your device driver on a parallel port
('port'). Once you have done that, you will be able to use
parport_claim and parport_release in order to use the port.

The ('name') argument is the name of the device that appears in /proc
filesystem. The string must be valid for the whole lifetime of the
device (until parport_unregister_device is called).

This function will register three callbacks into your driver:
'preempt', 'wakeup' and 'irq'. Each of these may be NULL in order to
indicate that you do not want a callback.
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/plip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ static void plip_attach (struct parport *port)

nl = netdev_priv(dev);
nl->dev = dev;
nl->pardev = parport_register_device(port, name, plip_preempt,
nl->pardev = parport_register_device(port, dev->name, plip_preempt,
plip_wakeup, plip_interrupt,
0, dev);

Expand Down

0 comments on commit 52d757e

Please sign in to comment.