Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330635
b: refs/heads/master
c: f89f9ff
h: refs/heads/master
i:
  330633: 02e54ee
  330631: 519f6e4
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent 530c921 commit f7e5920
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a590010a262b0797a4a42287959107d2c41c8ca
refs/heads/master: f89f9ff883cc5233933ef0b61845fc795ffa18d5
8 changes: 8 additions & 0 deletions trunk/drivers/media/dvb/dvb-usb/dvb_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
#include "dmxdev.h"
#include "dvb-usb-ids.h"

/* helper macros for every DVB USB driver use */
#define adap_to_d(adap) ((adap)->dev)
#define adap_to_priv(adap) (adap_to_d(adap)->priv)
#define fe_to_adap(fe) ((struct dvb_usb_adapter *) ((fe)->dvb->priv))
#define fe_to_d(fe) (adap_to_d(fe_to_adap(fe)))
#define fe_to_priv(fe) (fe_to_d(fe)->priv)
#define d_to_priv(d) (d->priv)

#define DVB_USB_STREAM_BULK(endpoint_, count_, size_) { \
.type = USB_BULK, \
.count = count_, \
Expand Down

0 comments on commit f7e5920

Please sign in to comment.