Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126716
b: refs/heads/master
c: 4e85a13
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 75436bc commit 0b92fa5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 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: e7f2aa345581b5b500b44a4114bdda642938eb2e
refs/heads/master: 4e85a13b4ea73aa3bb9f735d77a949393cbbad2b
22 changes: 11 additions & 11 deletions trunk/drivers/staging/comedi/drivers/comedi_fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

#include "comedi_fc.h"

static void increment_scan_progress(comedi_subdevice * subd,
unsigned int num_bytes)
static void increment_scan_progress(comedi_subdevice *subd,
unsigned int num_bytes)
{
comedi_async *async = subd->async;
unsigned int scan_length = cfc_bytes_per_scan(subd);
Expand All @@ -42,8 +42,8 @@ static void increment_scan_progress(comedi_subdevice * subd,
}

/* Writes an array of data points to comedi's buffer */
unsigned int cfc_write_array_to_buffer(comedi_subdevice * subd, void *data,
unsigned int num_bytes)
unsigned int cfc_write_array_to_buffer(comedi_subdevice *subd, void *data,
unsigned int num_bytes)
{
comedi_async *async = subd->async;
unsigned int retval;
Expand All @@ -65,9 +65,10 @@ unsigned int cfc_write_array_to_buffer(comedi_subdevice * subd, void *data,

return num_bytes;
}
EXPORT_SYMBOL(cfc_write_array_to_buffer);

unsigned int cfc_read_array_from_buffer(comedi_subdevice * subd, void *data,
unsigned int num_bytes)
unsigned int cfc_read_array_from_buffer(comedi_subdevice *subd, void *data,
unsigned int num_bytes)
{
comedi_async *async = subd->async;

Expand All @@ -82,8 +83,9 @@ unsigned int cfc_read_array_from_buffer(comedi_subdevice * subd, void *data,

return num_bytes;
}
EXPORT_SYMBOL(cfc_read_array_from_buffer);

unsigned int cfc_handle_events(comedi_device * dev, comedi_subdevice * subd)
unsigned int cfc_handle_events(comedi_device *dev, comedi_subdevice *subd)
{
unsigned int events = subd->async->events;

Expand All @@ -97,6 +99,7 @@ unsigned int cfc_handle_events(comedi_device * dev, comedi_subdevice * subd)

return events;
}
EXPORT_SYMBOL(cfc_handle_events);

MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
MODULE_DESCRIPTION("Shared functions for Comedi low-level drivers");
Expand All @@ -106,13 +109,10 @@ static int __init comedi_fc_init_module(void)
{
return 0;
}

static void __exit comedi_fc_cleanup_module(void)
{
}

module_init(comedi_fc_init_module);
module_exit(comedi_fc_cleanup_module);

EXPORT_SYMBOL(cfc_write_array_to_buffer);
EXPORT_SYMBOL(cfc_read_array_from_buffer);
EXPORT_SYMBOL(cfc_handle_events);

0 comments on commit 0b92fa5

Please sign in to comment.