Passing size to struct in driver