X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fpcmcia%2Fm32r_cfc.c;h=581bfa95429e1c1a4f1092777e84a63a3395e80d;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=eab36ffb462d0b85e16146140fafcc8c96e859b9;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/drivers/pcmcia/m32r_cfc.c b/drivers/pcmcia/m32r_cfc.c index eab36ffb4..581bfa954 100644 --- a/drivers/pcmcia/m32r_cfc.c +++ b/drivers/pcmcia/m32r_cfc.c @@ -732,15 +732,8 @@ static int pcc_init(struct pcmcia_socket *s) return 0; } -static int pcc_suspend(struct pcmcia_socket *sock) -{ - debug(3, "m32r_cfc: pcc_suspend()\n"); - return pcc_set_socket(sock, &dead_socket); -} - static struct pccard_operations pcc_operations = { .init = pcc_init, - .suspend = pcc_suspend, .get_status = pcc_get_status, .get_socket = pcc_get_socket, .set_socket = pcc_set_socket, @@ -750,7 +743,7 @@ static struct pccard_operations pcc_operations = { /*====================================================================*/ -static int m32r_pcc_suspend(struct device *dev, u32 state, u32 level) +static int m32r_pcc_suspend(struct device *dev, pm_message_t state, u32 level) { int ret = 0; if (level == SUSPEND_SAVE_STATE)