summaryrefslogtreecommitdiffstats
path: root/drivers/serial/icom.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-12-04 05:16:20 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 05:40:09 +0100
commit15f2bbb28e96e20149548926e5b08551ba140b14 (patch)
tree57a669fb31fb573545ef88427f33fa24547fcdf1 /drivers/serial/icom.h
parentkobject: convert hvcs to use kref, not kobject (diff)
downloadlinux-15f2bbb28e96e20149548926e5b08551ba140b14.tar.xz
linux-15f2bbb28e96e20149548926e5b08551ba140b14.zip
kobject: convert icom to use kref, not kobject
The IBM icom serial driver is using a kobject only for reference counting, nothing else. So switch it to use a kref instead, which is all that is needed, and is much smaller. Cc: Anton Blanchard <anton@au.ibm.com> Cc: Paul Mackerras <paulus@au.ibm.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Ryan S. Arnold <rsa@us.ibm.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to '')
-rw-r--r--drivers/serial/icom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/icom.h b/drivers/serial/icom.h
index e8578d8cd35e..027455496745 100644
--- a/drivers/serial/icom.h
+++ b/drivers/serial/icom.h
@@ -270,7 +270,7 @@ struct icom_adapter {
#define V2_ONE_PORT_RVX_ONE_PORT_IMBED_MDM 0x0251
int numb_ports;
struct list_head icom_adapter_entry;
- struct kobject kobj;
+ struct kref kref;
};
/* prototype */