-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: ezusb: unexport some functions that aren't being used
When the ezusb code was split out, support was added for the fx2 chip type, but no one is using these functions, so comment it out. If someone needs it, it can be added back in the future. Also properly include <linux/usb/ezusb.h> into the ezusb.c file, to ensure we catch any function prototype mis-matches Reported-by: Fengguang Wu <fengguang.wu@intel.com> Cc: René Bürgel <rene.buergel@sohard.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Greg Kroah-Hartman
committed
Oct 24, 2012
1 parent
068b054
commit c30186e
Showing
2 changed files
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
#ifndef __EZUSB_H | ||
#define __EZUSB_H | ||
|
||
|
||
extern int ezusb_writememory(struct usb_device *dev, int address, | ||
unsigned char *data, int length, __u8 bRequest); | ||
|
||
extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
extern int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
|
||
extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, | ||
const char *firmware_path); | ||
extern int ezusb_fx2_ihex_firmware_download(struct usb_device *dev, | ||
const char *firmware_path); | ||
|
||
#endif /* __EZUSB_H */ |