diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/abx500/ab8500.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h index 1cb5698b4d76..9dd9b99099df 100644 --- a/include/linux/mfd/abx500/ab8500.h +++ b/include/linux/mfd/abx500/ab8500.h | |||
| @@ -335,6 +335,11 @@ static inline int is_ab8500_2p0_or_earlier(struct ab8500 *ab) | |||
| 335 | return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); | 335 | return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); |
| 336 | } | 336 | } |
| 337 | 337 | ||
| 338 | static inline int is_ab8500_3p3_or_earlier(struct ab8500 *ab) | ||
| 339 | { | ||
| 340 | return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); | ||
| 341 | } | ||
| 342 | |||
| 338 | /* exclude also ab8505, ab9540... */ | 343 | /* exclude also ab8505, ab9540... */ |
| 339 | static inline int is_ab8500_2p0(struct ab8500 *ab) | 344 | static inline int is_ab8500_2p0(struct ab8500 *ab) |
| 340 | { | 345 | { |
