Re: [PATCH] More i2c driver changes for 2.5.66

Greg KH (greg@kroah.com)
Thu, 3 Apr 2003 08:37:57 -0800


On Thu, Apr 03, 2003 at 08:06:06AM -0500, Albert Cranford wrote:
> Your right, nobody outside of sensors uses i2c-proc, but
> why not create a new i2c-sysfs.h in drivers/i2c locally
> and and adjust the couple of existing drivers.

What would i2c-sysfs.h be needed for? All of the needed sysfs prototype
functions are already in device.h.

> We all know the application library is not going to have
> access to include/linux/include/i2c-xxxx.h anyhow.

It never did :)

> Later we can completely remove linux/include/linux/i2c-proc.h
> which the existing application library relies upon.

No userspace program should rely on kernel header files.
And I didn't take away the functionality that i2c-proc.h provided with
the list of devices supported and such. Just the unused function
prototypes that dealt with the proc and sysctl interface.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/