Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317999
b: refs/heads/master
c: b70ac75
h: refs/heads/master
i:
  317997: d4a5122
  317995: 44c17ed
  317991: 2000a96
  317983: bbba5e2
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent 8d5bb2e commit 3f5c0fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 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: 35975ea664dab765a304d40b776b475a32d7f407
refs/heads/master: b70ac75eeff0fb1f356924e58f6f543c9b3d3077
15 changes: 7 additions & 8 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct app_info_block {
int NumOfMsg; /* number of messages queued up */
wait_queue_head_t wait_dpram_msg;
struct list_head app_sqlist; /* link list of msgs for applicaton on slow queue */
} __attribute__((packed));
} __packed;

#define DEBUG(args...) printk(KERN_INFO args)

Expand Down Expand Up @@ -57,8 +57,7 @@ struct app_info_block {

#define MAX_BUF_SIZE 4096

struct ft1000_device
{
struct ft1000_device {
struct usb_device *dev;
struct net_device *net;

Expand All @@ -72,7 +71,7 @@ struct ft1000_device

u8 bulk_in_endpointAddr;
u8 bulk_out_endpointAddr;
} __attribute__ ((packed));
} __packed;

struct ft1000_debug_dirs {
struct list_head list;
Expand Down Expand Up @@ -142,10 +141,10 @@ struct ft1000_info {
struct dpram_blk {
struct list_head list;
u16 *pbuffer;
} __attribute__ ((packed));
} __packed;

int ft1000_read_register(struct ft1000_device *ft1000dev,
u16* Data, u16 nRegIndx);
u16 *Data, u16 nRegIndx);
int ft1000_write_register(struct ft1000_device *ft1000dev,
u16 value, u16 nRegIndx);
int ft1000_read_dpram32(struct ft1000_device *ft1000dev,
Expand All @@ -165,7 +164,7 @@ extern void *pFileStart;
extern size_t FileLength;
extern int numofmsgbuf;

int ft1000_close (struct net_device *dev);
int ft1000_close(struct net_device *dev);
u16 scram_dnldr(struct ft1000_device *ft1000dev, void *pFileStart,
u32 FileLength);

Expand All @@ -186,7 +185,7 @@ int init_ft1000_netdev(struct ft1000_device *ft1000dev);
struct usb_interface;
int reg_ft1000_netdev(struct ft1000_device *ft1000dev,
struct usb_interface *intf);
int ft1000_poll(void* dev_id);
int ft1000_poll(void *dev_id);

int ft1000_init_proc(struct net_device *dev);
void ft1000_cleanup_proc(struct ft1000_info *info);
Expand Down

0 comments on commit 3f5c0fd

Please sign in to comment.