I think you also want to rename device_add_child_ordered()'s arg from 'bus' to 'dev', right?
-- http://yoyodyne.ath.cx