The 31-year-old full back limped off in City's Champions League defeat against Real Madrid earlier this month, having pushed through the pain barrier to start, with Guardiola stating he will therefore miss the rest of the campaign.
But when asked about the condition of his ankle, Walker told BBC Radio 5Live he is hopeful of returning to help his side secure the Premier League title.
He said: "It's alright, it's alright. I wouldn't say it's perfect, obviously it's had two very bad injuries in two games but I'm hoping. I've still got hope until the end of the season, until that whistle goes 90 minutes in at the Etihad against Aston Villa, that's when I'll say my season is over and have a little bit of a rest.
"Well, a week hopefully before I join up with England but I've still got hope for tomorrow, I've still got hope for next week, as I say, until the season's done I'll (not) be done."