The ego and awakening

How can the ego be a partner in the awakening process?