From: Dominik Brodowski Date: Mon, 14 Nov 2005 20:25:51 +0000 (+0100) Subject: [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback X-Git-Tag: v2.6.16-rc1~474^2~21^2~2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8cfa618dccbdc6dab5297f75779566a388a98fd;p=pandora-kernel.git [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified probe() callback. As all in-kernel drivers are changed to this new callback, there will be no temporary backwards-compatibility. Inside a probe() function, each driver _must_ set struct pcmcia_device *p_dev->instance and instance->handle correctly. With these patches, the basic driver interface for 16-bit PCMCIA drivers now has the classic four callbacks known also from other buses: int (*probe) (struct pcmcia_device *dev); void (*remove) (struct pcmcia_device *dev); int (*suspend) (struct pcmcia_device *dev); int (*resume) (struct pcmcia_device *dev); Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed