• Dominik Brodowski's avatar
    [PCMCIA] split_init · 432849b8
    Dominik Brodowski authored
    Split up the socket initialization in cs.c into two pieces:
    
            pcmcia_register_socket / pcmcia_unregister_socket 
    will focus on registering sockets with the device core in future, set
    all necessary fields etc.
    
            pcmcia_add_socket / pcmcia_remove_socket 
    will use an interface to the device class "pcmcia_socket_class" in
    future, and mainly take care of what initialization cs.c needs to work
    properly.
    
    This patch is almost completely limited to shuffling code around
    
     cs.c |  157 +++++++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 83 insertions(+), 74 deletions(-)
    432849b8
cs.c 71.6 KB