Lets say if the middle node of the doubly linked list is "middle" and the start node is "head".then the code as follows.
middle->prev->next middle->next;
middle->next->prev middle->prev;
// Now make the middle as head.
middle->prev NULL;
middle->next head;
head->prev middle;
head middle;