Skip to content

Commit

Permalink
mmc: core: Cleanup BKOPS leftover
Browse files Browse the repository at this point in the history
drivers/mmc/core/core.c:337:4: error: implicit declaration of function 'mmc_card_doing_bkops' [-Werror,-Wimplicit-function-declaration]
                        mmc_card_doing_bkops(card))))

1 error generated.

Fix Build.

Signed-off-by: Carlos Jimenez (JavaShin-X) <[email protected]>
  • Loading branch information
javashin committed Jun 16, 2022
1 parent d2512ee commit 8c0d3ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ static bool mmc_is_valid_state_for_clk_scaling(struct mmc_host *host)
* this mode.
*/
if (!card || (mmc_card_mmc(card) &&
(card->part_curr == EXT_CSD_PART_CONFIG_ACC_RPMB ||
mmc_card_doing_bkops(card))))
(card->part_curr == EXT_CSD_PART_CONFIG_ACC_RPMB ||(card))))
return false;

if (mmc_send_status(card, &status)) {
Expand Down

0 comments on commit 8c0d3ff

Please sign in to comment.