staging/fwserial: Refer to fw_device as "node"
Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
06b8f14dc2
commit
5d110d9296
@ -174,7 +174,7 @@ static void dump_profile(struct seq_file *m, struct stats *stats)
|
|||||||
#define dump_profile(m, stats)
|
#define dump_profile(m, stats)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Returns the max receive packet size for the given card */
|
/* Returns the max receive packet size for the given node */
|
||||||
static inline int device_max_receive(struct fw_device *fw_device)
|
static inline int device_max_receive(struct fw_device *fw_device)
|
||||||
{
|
{
|
||||||
return 1 << (clamp_t(int, fw_device->max_rec, 8U, 11U) + 1);
|
return 1 << (clamp_t(int, fw_device->max_rec, 8U, 11U) + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user