Mortgage interest deduction on primary residence if renting out garage?

My home has an attached garage that's currently sitting vacant because I no longer own a car.  

 

If I rent out the garage, can I still deduct mortgage interest on my house?  Or does the entire house become rental property (even though I'm only renting out the garage) and I lose the ability to deduct mortgage interest?