Hallo Werner, * Werner Almesberger <[EMAIL PROTECTED]> [02-03-08 16:04]: > Daniel Willmann wrote: > > it seems newer kernels don't have this compatibility symlink and thus > > gllin breaks. > > Could we get these symlinks to make gllin happy? > > Aah yes, forgot about that one. Does the patch below solve the problem ? > (Don't have a GTA01 at hand to try myself.) For me the patch works! Huge Thanks!
> > - Werner > Index: linux-2.6.24/drivers/i2c/chips/pcf50606.c > =================================================================== > --- linux-2.6.24.orig/drivers/i2c/chips/pcf50606.c > +++ linux-2.6.24/drivers/i2c/chips/pcf50606.c > @@ -1775,6 +1775,11 @@ static int pcf50606_detect(struct i2c_ad > break; > } > platform_device_register(>a01_pm_gps_dev); > + err = sysfs_create_link(&platform_bus_type.devices.kobj, > + >a01_pm_gps_dev.dev.kobj, "gta01-pm-gps.0"); > + if (err) > + printk(KERN_ERR > + "sysfs_create_link (gta01-pm-gps.0): %d\n", err); > } > #endif > Tim Niemeyer
signature.asc
Description: Digital signature
