Trim trailing whitespace.
This commit is contained in:
parent
9a5c50c3d9
commit
769b737e04
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19414
1 changed files with 6 additions and 6 deletions
|
@ -64,7 +64,7 @@ static dev_t sdev;
|
|||
/* We're more interested in probe/attach than with
|
||||
open/close/read/write at this point */
|
||||
|
||||
int
|
||||
int
|
||||
mypci_open(dev_t dev, int oflags, int devtype, d_thread_t *td)
|
||||
{
|
||||
int err = 0;
|
||||
|
@ -73,14 +73,14 @@ mypci_open(dev_t dev, int oflags, int devtype, d_thread_t *td)
|
|||
return (err);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
mypci_close(dev_t dev, int fflag, int devtype, struct d_thread_t *td)
|
||||
{
|
||||
int err = 0;
|
||||
|
||||
printf("Closing device \"mypci.\"\n");
|
||||
printf("Closing device \"mypci.\"\n");
|
||||
return (err);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
mypci_read(dev_t dev, struct uio *uio, int ioflag)
|
||||
|
@ -152,7 +152,7 @@ mypci_shutdown(device_t dev)
|
|||
}
|
||||
|
||||
/*
|
||||
* Device suspend routine.
|
||||
* Device suspend routine.
|
||||
*/
|
||||
static int
|
||||
mypci_suspend(device_t dev)
|
||||
|
@ -196,7 +196,7 @@ static driver_t mypci_driver = {
|
|||
static devclass_t mypci_devclass;
|
||||
|
||||
DRIVER_MODULE(mypci, pci, mypci_driver, mypci_devclass, 0, 0);</programlisting>
|
||||
|
||||
|
||||
<para>Additional Resources
|
||||
<itemizedlist>
|
||||
<listitem><simpara><ulink url="http://www.pcisig.org/">PCI
|
||||
|
|
Loading…
Reference in a new issue