Skip to content

Commit

Permalink
Merge remote-tracking branch 'regmap/topic/range' into regmap-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Oct 28, 2013
2 parents 18f513d + 6112fe6 commit c435d5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/regmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ struct regmap_range {
unsigned int range_max;
};

#define regmap_reg_range(low, high) { .range_min = low, .range_max = high, }

/*
* A table of ranges including some yes ranges and some no ranges.
* If a register belongs to a no_range, the corresponding check function
Expand Down

0 comments on commit c435d5b

Please sign in to comment.