summaryrefslogtreecommitdiffstats
path: root/drivers/serial/icom.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-12-03 21:16:20 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:09 -0800
commit15f2bbb28e96e20149548926e5b08551ba140b14 (patch)
tree57a669fb31fb573545ef88427f33fa24547fcdf1 /drivers/serial/icom.h
parentf7eb12c626d4375faf03039261546bd19c1325fd (diff)
downloadop-kernel-dev-15f2bbb28e96e20149548926e5b08551ba140b14.zip
op-kernel-dev-15f2bbb28e96e20149548926e5b08551ba140b14.tar.gz
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 'drivers/serial/icom.h')
-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 e8578d8..0274554 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 */
OpenPOWER on IntegriCloud