summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-transaction.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-07-07 14:13:14 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-07-13 09:47:47 +0200
commiteb5b35a560510efc6bb62f05c3c82e9596cdfafe (patch)
tree59d610352e8e0e60de0ce958149fb08dddf6ce82 /drivers/firewire/core-transaction.c
parent656b7afd40a9f2b0d6cf8ef1972681961b428558 (diff)
downloadblackbird-op-linux-eb5b35a560510efc6bb62f05c3c82e9596cdfafe.tar.gz
blackbird-op-linux-eb5b35a560510efc6bb62f05c3c82e9596cdfafe.zip
firewire: core: ensure some userspace API constants match corresponding kernel API constants
The FW_ISO_ constants of the in-kernel API of firewire-core and FW_CDEV_ISO_ constants of the userspace API of firewire-core have nothing to do with each other --- except that the core-cdev.c implementation relies on them having the same values. Hence put some compile-time assertions into core-cdev.c. It's lame but I prefer it over including the userspace API header into the kernelspace API header and defining kernelspace API constants from userspace API constants. Nor do I want to expose the kernelspace constants in one of the two firewire headers that are exported to userland since this only concerns the core-cdev.c implementation. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-transaction.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud