For example, I am currently taking an upper division political science class, but only because it was required. I have no real interest in this course, but my motivation to do the work is to never have to look at it again. I figure if I can do it, and I can do well, then I will never have to sit in this type of class again.
The other issue with college is professors. I have had interesting subjects with the most uninteresting professors. This definitely makes the subject matter more difficult to find interesting. The opposite, however, is great. If I have a subject that I can't stand, but a professor that is very excited and interested in the subject, it will usually get me really motivated to do the work.
Obviously, these are my opinions, so this will vary from person to person. My motivation for doing uninteresting work in college is to have one less obstacle between me and my future goals. I'm sure this motivation can be applied to many other situations.