Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63127
b: refs/heads/master
c: a4ee0df
h: refs/heads/master
i:
  63125: a22273e
  63123: f3bd674
  63119: f75c2a4
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed Jul 24, 2007
1 parent 4ced4b8 commit 2781a9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 2cd614c8732172524c36cd5245620338928062b6
refs/heads/master: a4ee0df8b3d007f0d685d38a56dc0b91e01aaaf7
9 changes: 7 additions & 2 deletions trunk/include/linux/bsg.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,13 @@ struct bsg_class_device {
extern int bsg_register_queue(struct request_queue *, struct device *, const char *);
extern void bsg_unregister_queue(struct request_queue *);
#else
#define bsg_register_queue(disk, dev, name) (0)
#define bsg_unregister_queue(disk) do { } while (0)
static inline int bsg_register_queue(struct request_queue * rq, struct device *dev, const char *name)
{
return 0;
}
static inline void bsg_unregister_queue(struct request_queue *rq)
{
}
#endif

#endif /* __KERNEL__ */
Expand Down

0 comments on commit 2781a9a

Please sign in to comment.