Is 靠 structure "A 靠 B do something"?
Is 靠 structure "A (pronoun/noun) 靠 B (pronoun/noun) do something"? 


The thing  missing is 'to achieve something'


  "A (pronoun/noun) 靠 B (pronoun/noun) to do something to achieve something" 



他们全家的生活靠父亲一个人工作 = the whole family's living depend on the father working alone 
他们全家的生活靠父亲一个人工作(來維持) = the whole family's living depend on the father working alone (to maintain) 


("to maintain living, the whole family depend on the father to work alone".  Not "生活(subject) 靠 父亲一个人工")


他们的收入靠经营宾馆 = their income depend on running an inn
他们的收入靠经营宾馆(而來) = their income depend on running an inn (to obtain) 


(to obtain income, they depend on running an inn . Not 收入(subject) 靠 经营宾馆)

Note:

If 靠 means 'solely depend on' you should use the full term 全靠 instead of just 靠


他们全家的生活全靠父亲一个人工作來維持 = the whole family's living solely depend on the father working alone to maintain 
他们的收入全靠经营宾馆而來 = their income sole depend on running an inn to obtain 


A simpler example

汽車依靠汽油 (car depend on gas)

汽車依靠汽油來運行 (car depend on gas to run)