[2.5.38] __FUNCTION__ issue (act200l)
PATCH 1/1 [2.5.38] __FUNCTION__ issue (act200l)
hi,
this and next patches are to replace
printk("blah" __FUNCTION__ "blah");
by
printk("blah" "%s" "blah", __FUNCTION__);
that is needed to compile 2.5.38Signature · 1 line
aris
drivers/net/irda/act200l.c +4 -4
@@ -106,7 +106,7 @@static void act200l_open (dongle_t *self,struct qos_info *qos) { -IRDA_DEBUG (2 , __FUNCTION__"()\n" ); +IRDA_DEBUG (2 ,"%s()\n" , __FUNCTION__);/* Power on the dongle */ self->set_dtr_rts (self->dev, TRUE, TRUE);
@@ -120,7 +120,7 @@static void act200l_close (dongle_t *self) { -IRDA_DEBUG (2 , __FUNCTION__"()\n" ); +IRDA_DEBUG (2 ,"%s()\n" , __FUNCTION__);/* Power off the dongle */ self->set_dtr_rts (self->dev, FALSE, FALSE);
@@ -141,7 +141,7 @@__u8 control[3 ];int ret =0 ; -IRDA_DEBUG (2 , __FUNCTION__"()\n" ); +IRDA_DEBUG (2 ,"%s()\n" , __FUNCTION__); self->speed_task = task;
@@ -233,7 +233,7 @@ };int ret =0 ; -IRDA_DEBUG (2 , __FUNCTION__"()\n" ); +IRDA_DEBUG (2 ,"%s()\n" , __FUNCTION__); self->reset_task = task;