summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
authorEric W. Biederman2007-09-27 07:02:53 +0200
committerDavid S. Miller2007-10-11 01:52:46 +0200
commit8b41d1887db718be9a2cd9e18c58ce25a4c7fd93 (patch)
tree102ef996b06916215761b619737dbb65ea685525 /drivers/i2c/i2c-dev.c
parent[CCID3]: Remove ifdef surrounding BUG_ON (diff)
downloadkernel-qcow2-linux-8b41d1887db718be9a2cd9e18c58ce25a4c7fd93.tar.gz
kernel-qcow2-linux-8b41d1887db718be9a2cd9e18c58ce25a4c7fd93.tar.xz
kernel-qcow2-linux-8b41d1887db718be9a2cd9e18c58ce25a4c7fd93.zip
[NET]: Fix running without sysfs
When sysfs support is compiled out the kernel still keeps and maintains the kobject tree. So it is not safe to skip our kobject reference counting or to avoid becoming members of the kobject tree. It is safe to not add the networking specific sysfs attributes. This patch removes the sysfs special cases from net/core/dev.c renames functions from netdev_sysfs_xxxx to netdev_kobject_xxxx and always compiles in net-sysfs.c net-sysfs.c is modified with a CONFIG_SYSFS guard around the parts that are actually sysfs specific. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions