drivers: can: remove the use of bitfields from struct can_filter
Remove the use of bitfields in the can_filter struct. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
09604d4044
commit
cba3a831e2
1 changed files with 2 additions and 5 deletions
|
|
@ -217,14 +217,11 @@ struct can_frame {
|
|||
*/
|
||||
struct can_filter {
|
||||
/** CAN identifier to match. */
|
||||
uint32_t id : 29;
|
||||
/** @cond INTERNAL_HIDDEN */
|
||||
uint32_t res0 : 3;
|
||||
/** @endcond */
|
||||
uint32_t id;
|
||||
/** CAN identifier matching mask. If a bit in this mask is 0, the value
|
||||
* of the corresponding bit in the ``id`` field is ignored by the filter.
|
||||
*/
|
||||
uint32_t mask : 29;
|
||||
uint32_t mask;
|
||||
/** Flags. @see @ref CAN_FILTER_FLAGS. */
|
||||
uint8_t flags;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue