No, its not at all a void marriage. Since you've stayed together for some time and consummated your marriage, it is very much a valid marriage. You have not mentioned why you want to take divorce. If he is ready, file a mutual consent divorce petition.