get pointer to "struct device" for current module

From: Ran Shalit
Date: Mon Mar 09 2015 - 03:32:23 EST


Hello,

Is there a way to get pointer to "struct device" for current module in
kernel driver ?

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