* Check for any arguments passed in on the module load command line.
*/
-static void stl_argbrds(void)
+static void __init stl_argbrds(void)
{
struct stlconf conf;
struct stlbrd *brdp;
* Parse the supplied argument string, into the board conf struct.
*/
-static int stl_parsebrd(struct stlconf *confp, char **argp)
+static int __init stl_parsebrd(struct stlconf *confp, char **argp)
{
char *sp;
int i;
* Try to find and initialize an EasyIO board.
*/
-static int stl_initeio(struct stlbrd *brdp)
+static int __init stl_initeio(struct stlbrd *brdp)
{
struct stlpanel *panelp;
unsigned int status;
* dealing with all types of ECH board.
*/
-static int stl_initech(struct stlbrd *brdp)
+static int __init stl_initech(struct stlbrd *brdp)
{
struct stlpanel *panelp;
unsigned int status, nxtid, ioaddr, conflict;
* Find the next available board number that is free.
*/
-static int stl_getbrdnr(void)
+static int __init stl_getbrdnr(void)
{
int i;
* configuration space.
*/
-static int stl_initpcibrd(int brdtype, struct pci_dev *devp)
+static int __init stl_initpcibrd(int brdtype, struct pci_dev *devp)
{
struct stlbrd *brdp;
*/
-static int stl_findpcibrds(void)
+static int __init stl_findpcibrds(void)
{
struct pci_dev *dev = NULL;
int i, rc;
* since the initial search and setup is too different.
*/
-static int stl_initbrds(void)
+static int __init stl_initbrds(void)
{
struct stlbrd *brdp;
struct stlconf *confp;