[PATCH] Fix build with no CONFIG_MMC.

Andy Green andy at openmoko.com
Tue Sep 23 00:05:24 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| I hit this when updating to 2.6.26.  Also if CONFIG_MMC is enabled this
| patch converts this horrible horrible hack into a horrible hack by using
| dev->resume() (untested).

| +#if defined(CONFIG_MFD_GLAMO_MCI) && defined(CONFIG_PM)
| +	resume_dep_glamo_mci_pcf.callback = (void *)dev->dev.driver->resume;

Thanks for that, it is much neater.  Sent it on to stable.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjYFpoACgkQOjLpvpq7dMphAwCdHu94LR/XwJZIPMzFgmt8vzyx
K18An2M40bya/CFfLCHBsAAxuNzvNtqE
=04mh
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list