mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
panfrost: Add missing inline
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Italo Nicola <italonicola@collabora.com> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>
This commit is contained in:
parent
59d5d090ac
commit
7a32a9aa18
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ struct pan_tristate {
|
|||
* Try to set a tristate value to a desired boolean value. Returns whether the
|
||||
* operation is successful.
|
||||
*/
|
||||
static bool
|
||||
static inline bool
|
||||
pan_tristate_set(struct pan_tristate *state, bool value)
|
||||
{
|
||||
switch (state->v) {
|
||||
|
|
@ -73,7 +73,7 @@ pan_tristate_set(struct pan_tristate *state, bool value)
|
|||
* Read the boolean value of a tristate. Return value undefined in the don't
|
||||
* care state.
|
||||
*/
|
||||
static bool
|
||||
static inline bool
|
||||
pan_tristate_get(struct pan_tristate state)
|
||||
{
|
||||
return (state.v == PAN_TRISTATE_TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue