On Sat, Nov 21, 2009 at 11:52:28AM +0900, Jassi Brar wrote: > +static void smdk6410_spidev_cs_set_level(int high) > +{ > + u32 val; > + > + val = readl(S3C64XX_GPCDAT); > + > + if (high) > + val |= (1<<3); > + else > + val &= ~(1<<3); > + > + writel(val, S3C64XX_GPCDAT); > +} This should be using gpiolib, I suspect. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html