[PCMCIA] split_init
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(-)
Showing
Please register or sign in to comment