diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2005-08-03 15:14:50 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 14:41:26 -0700 |
commit | 8949d2aa05ddf5e9a31d738568a79915970cb38e (patch) | |
tree | bb5c18d4a5ff014a4a521fb5817ad231e8d0c81f /drivers/w1/dscore.h | |
parent | 2d8331792ea3f5ccfd147288afba148537337019 (diff) | |
download | kernel_samsung_smdk4412-8949d2aa05ddf5e9a31d738568a79915970cb38e.zip kernel_samsung_smdk4412-8949d2aa05ddf5e9a31d738568a79915970cb38e.tar.gz kernel_samsung_smdk4412-8949d2aa05ddf5e9a31d738568a79915970cb38e.tar.bz2 |
[PATCH] W1: Sync with w1/ds9490 tree.
Whitespace, static/nonstatic cleanups.
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/dscore.h')
-rw-r--r-- | drivers/w1/dscore.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/w1/dscore.h b/drivers/w1/dscore.h index 9c767ef..6cf5671 100644 --- a/drivers/w1/dscore.h +++ b/drivers/w1/dscore.h @@ -1,8 +1,8 @@ /* - * dscore.h + * dscore.h * * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru> - * + * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -122,7 +122,7 @@ struct ds_device { - struct usb_device *udev; + struct usb_device *udev; struct usb_interface *intf; int ep[NUM_EP]; @@ -156,11 +156,7 @@ int ds_read_byte(struct ds_device *, u8 *); int ds_read_bit(struct ds_device *, u8 *); int ds_write_byte(struct ds_device *, u8); int ds_write_bit(struct ds_device *, u8); -int ds_start_pulse(struct ds_device *, int); -int ds_set_speed(struct ds_device *, int); int ds_reset(struct ds_device *, struct ds_status *); -int ds_detect(struct ds_device *, struct ds_status *); -int ds_stop_pulse(struct ds_device *, int); struct ds_device * ds_get_device(void); void ds_put_device(struct ds_device *); int ds_write_block(struct ds_device *, u8 *, int); |