|
@@ -60,9 +60,6 @@ struct c2port_ops {
|
|
|
* Exported functions
|
|
|
*/
|
|
|
|
|
|
-#define to_class_dev(obj) container_of((obj), struct class_device, kobj)
|
|
|
-#define to_c2port_device(obj) container_of((obj), struct c2port_device, class)
|
|
|
-
|
|
|
extern struct c2port_device *c2port_device_register(char *name,
|
|
|
struct c2port_ops *ops, void *devdata);
|
|
|
extern void c2port_device_unregister(struct c2port_device *dev);
|