Hi,
        I was wondering why we don't use C++ style inheritance and object 
orientation when instantiating a particular board configuration? 

For example, I have a platform that is based on board-overo.c. Instead copy 
pasting and creating a new board-overo-variant.c, if the core structures were 
defined as classes, I could potentially inherit from the base overo board 
definition, and add my own specific modifications. 

I would imagine it would make for more compact board definition files if we 
were to use C++ in the kernel for this type of instantiation.

Best regards,

Elvis Dowson

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to